Review 11.5 Merged

75272[BUGFIX] Correct workspace overlays in DataMapProcessor

Christian Kuhn CR +2 V +2 Easy +33 −11 updated 07/23/22, 13:11

Commit message

Scenario:
* Create a live page that has a 'media' resource
* Create a localization of that page
* Go to workspace
* Edit the localized page
* Save
* Save again
-> crash "Array to string conversion" in DataHandler
   isSubmittedValueEqualToStoredValue()

Investigating this, the issue is not in
isSubmittedValueEqualToStoredValue() itself, but
within DataMapProcessor, which fails to apply
a workspace overlay due to #92209: The default
WorkspaceRestriction is not sufficient in this case.

The patch changes DataMapProcessor to apply
workspace overlays in a different way for this
special case.

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 2

Files 1