Review 10.4 Merged

68932[BUGFIX] Fix InvalidEnumerationValueException in workspaces

Christian Kuhn CR +2 V +2 Easy +1 −1 updated 04/29/21, 22:37

Commit message

Since there is no guard clause, dealing with
non workspace aware records, it's possible
that `t3ver_state` is not set at this point.

To prevent the InvalidEnumerationValueException
on processing the value, the null coalescing operator,
together with a proper typecast is now used.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Christian Kuhn commented on patch set 1 04/29/21, 22:21

    Cherry Picked from branch master.
  2. core-ci voted on patch set 1 V +1 04/29/21, 22:36 Core CI is happy: https://gitlab.typo3.org/TYPO3/CI/cms/-/pipelines/10944

  3. Christian Kuhn voted on patch set 1 V +2 CR +2 04/29/21, 22:37

  4. Christian Kuhn merged patch set 2 04/29/21, 22:37