Project

General

Profile

Actions

Bug #70962

closed

IRRE relations in flexform duplicated when saving in workspace

Added by Andreas Wolf over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
DataHandler aka TCEmain
Target version:
Start date:
2015-10-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

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)
Actions

Also available in: Atom PDF