Important: The contact inline parent is now workspace aware
Description
tx_ has always declared
'versioning, while the table it is attached to as an inline
child —
tx_, extended in
Configuration/TCA/Overrides/tx_academicpersons_domain_model_contract.php
- did not.
That is the direction TYPO3 does not repair.
Tca only ever adds the
flag to a child whose parent already carries it, and TYPO3 v13 ships no such
migration at all, so a workspace aware child below a live-only parent went
unreported on both supported core versions. The TYPO3 documentation calls the
combination unsupported.
academic_ 3.0 declares all of its record tables workspace aware,
which resolves it: parent and child now agree.
Impact
Nothing changes in this extension itself. Its contact records were already
versionable and keep their
t3ver_*
columns.
What changes is that the parent record can now be versioned as well, so a contact and the contract it belongs to are drafted and published together rather than the contact alone being versionable below a record that was not.
The parent table gains four columns and an index in the process. Run the
database analyzer once after updating — see Breaking: Person records are
workspace aware in the 3.0 changelog of
academic_, which also
documents the SQLite defect that affects the command line path.
Note
Publishing a workspace keeps the uid of every record: a changed record is written into its live record, and a record created in the workspace keeps its own uid. A page contact that stores the uid of an address therefore needs no remapping on publish. What went wrong with the address selects once the address tables became versionable was the list they offered: the version rows of every workspace, the editor's own included, and the records new in other workspaces. Apart from that, a copy kept the addresses of the original and the reference index knew no selection. All of it is fixed, see Important: The address selects of a page contact are relations and Important: The address selects of a page contact follow the workspace.
Affected Installations
Every installation of this extension, because it depends on
academic_ and the schema of
tx_ changes there.