Issue Task Closed

#57169Invalid relations of MM records in workspaces

Oliver Hader 03/21/14, 22:40 updated 10/02/18, 11:58

Description

The basic problem with MM (ManyToMany) relations in workspaces is, that the intermediate table (MM table) does not have any information about actually being a reference in a particular workspace – there is no “t3ver_wsid” field. Thus, the meaning of a relation needs to be determined from the entities on both sides of the relation. The following is possible:
  • both sides of the relation are live -> valid in live only
  • exactly one side of the relation is versioned -> valid in a workspace only
  • both sides of the relation are versioned -> valid in a workspace only

The difficulties now start with versioning one side first and after some time the other side – thus the relation with exactly one version and one live entity needs to be turned into an entry pointing to both versions.

Reviews 6