Bug #82750
closedWorkspace preview doesn't preview MM relations properly
100%
Description
If the workspace preview is used to preview a record of an Extbase extension having an m:n relation, the relation data isn't displayed properly in the stage preview.
The stage preview doesn't show a relation added to an item in a workspace while it is correctly saved in the database and also correctly applied if published.
So I assume the reason for the preview not working properly must be a bug in Extbase.
I created an extension to demonstrate the issue:
https://github.com/visol/ext-group_mm_workspaces_test
The Workspace preview only works in this case if https://review.typo3.org/#/c/52791/ is applied.
Updated by Tymoteusz Motylewski over 6 years ago
- Related to Bug #81208: Invalid SQL query when previewing a workspace with translated relations added
Updated by Thomas Prangenberg over 6 years ago
We are experiencing the same behaviour in TYPO3 8.7.18: Relations are saved correctly in the workspace version but the extbase model remains pointing to the relations of the live version in workspace previews.
Any news on this?
Updated by Hannes Bochmann about 5 years ago
I experience the same bug in TYPO3 8.7. It seems to be fixed since TYPO3 9.5 but another bug occurs afterwards (#81208). It's a shame that such bugs stay unsolved since 2 years!
Updated by Steve Lenz almost 5 years ago
I'm agree with Hannes. It's a shame. Why is this bug in a major feature sill unresolved. I have no clue about EXT:workspaces but can I help to reslove it.
Updated by Benni Mack over 4 years ago
- Related to Bug #85061: Extbase doesn't overlay workspace records added
Updated by Benni Mack over 4 years ago
Hey,
can you please test this patch if this solves your issue? https://review.typo3.org/c/Packages/TYPO3.CMS/+/57012
Updated by Tobias Pinnekamp over 4 years ago
I tried to apply that patch. But it seems it is coded against TYPO3 v10 code and therefore impossible for me to apply bit by bit by hand to a v9.5 installation because of the code differences, as this issue is related to older TYPO3 versions as well.
Updated by Bert Hiddink over 4 years ago
Tobias Pinnekamp wrote:
I tried to apply that patch. But it seems it is coded against TYPO3 v10 code and therefore impossible for me to apply bit by bit by hand to a v9.5 installation because of the code differences, as this issue is related to older TYPO3 versions as well.
Same for me, we need a patch for 9.5.21!
Is there a workaround?
Regards,
Bert
Updated by Tina Westner almost 4 years ago
Hi Benni,
I currently tested it on 10.4.13 and it does not seem, that this bug is solved yet (the patch is in core from 10.4.10 on).
The base record is overlayed, but not the relations. Neither m:n-relations (relations to sys_file_reference or sys_categories e.g.) nor irre-relations.
In my example some of the properties are filled with NULL, some contains the live-workspace-version. I could not find out in detail, which version comes in which case.
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68913
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70215
Updated by Benni Mack over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a1f22a427f3bc49ab3fc3424859a7e2d7beaa1c9.
Updated by Benni Mack about 2 years ago
- Related to Bug #89456: Translations of IRRE Extbase Records in Workspaces not saved added
Updated by Markus Klein over 1 year ago
- Related to Bug #99244: DataMapper uses a lot of memory when retrieving MM-relations in workspaces added