Review 9.5 Merged

62855[BUGFIX] Handle missing TSFE gracefully in TS conditions

Daniel Goerz CR +2 V +2 Easy +45 −2 updated 01/12/20, 18:26

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 6