Review main Merged

75258[BUGFIX] Avoid workspace PHP 8 crash when resorting relations

Christian Kuhn CR +2 V +2 Easy +1 −1 updated 07/22/22, 16:41

Commit message

Scenario:
* Create a live page, add two images to media field
* Go to workspaces, edit page, resort the two images, save
* Go to workspace module of that page
-> Crash in main ajax call "DiffUtility::makeDiffDisplay():
Argument #1 ($str1) must be of type string, int given"

Fix with proper cast.

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 3

Files 1