Review 10.4 Merged

65428[BUGFIX] Discarding record in workspaces deletes move placeholder

Anja Leichsenring CR +2 V +2 Hard +389 −30 updated 08/27/20, 08:03

Commit message

When discarding a workspace change of a record that has been
moved, the move-to-pointer (t3ver_state=3) is not set to
deleted=1 as it should. This leads to issues, for instance
the list module shows the records twice.
The patch partially fixes this behavior: For top-level
records, move pointer are now properly deleted as shown
by Regular/Modify test moveContentToDifferentPageAndDiscard
for a 'discard' case, and for a 'flush' related test case
in existing deletingSysWorkspaceDeletesWorkspaceRecordsResult,
which removes two todos.
For relations, the issue is harder to tackle, for now
coverage is added for inline csv and foreignField, to nail
with @todos that delete cascading of move pointer records is
still troublesome.

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 15