Review main Merged

59129[BUGFIX] Handle missing TSFE gracefully in TS conditions

Georg Ringer CR +2 V +2 Easy +43 −1 updated 01/12/20, 17:16

Commit message

A condition like [getTSFE().id == 1] is evaluated in BE as well
and logged an error 'Unable to get a property on a non-object'.

This patch ensures that conditions based on getTSFE() are
treated gracefully and are evaluated to false.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5