Issue Bug Closed

#70962IRRE relations in flexform duplicated when saving in workspace

Andreas Wolf 10/22/15, 22:43 updated 10/21/17, 17:36

Description

Constellation:

  • a table containing a flexform with an inline element
  • a record with at least one relation saved in live workspace

How to reproduce:

  • open the record in a draft WS, save (no change necessary!)

Expected result:

  • no changes made except those entered by the user

Actual result:

  • the inline relation is duplicated
  • there are in total three relation records in the relations table: one for live, one placeholder for live, the draft version

Source of error:

  • the relation is copied instead of a new version being generated, because the workspace information is lost along the way
  • additionally, the PID of the relation record gets screwed up (another relation on a different page must exist; the relation with the smallest UID seems to win for the new, wrong PID of the relation)

Reviews 3