Bug #82750

Workspace preview doesn't preview MM relations properly

Added by Lorenz Ulrich about 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2017-10-12
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #81208: Invalid SQL query when previewing a workspace with translated relations Under Review 2017-05-12
Related to TYPO3 Core - Bug #85061: Extbase doesn't overlay workspace records Resolved 2018-05-22

History

#1 Updated by Lorenz Ulrich about 3 years ago

  • Description updated (diff)

#2 Updated by Tymoteusz Motylewski over 2 years ago

  • Related to Bug #81208: Invalid SQL query when previewing a workspace with translated relations added

#3 Updated by Thomas Prangenberg about 2 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?

#4 Updated by Hannes Bochmann 9 months 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!

#5 Updated by Steve Lenz 6 months 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.

#6 Updated by Benni Mack about 2 months ago

  • Related to Bug #85061: Extbase doesn't overlay workspace records added

#7 Updated by Benni Mack about 2 months ago

Hey,

can you please test this patch if this solves your issue? https://review.typo3.org/c/Packages/TYPO3.CMS/+/57012

#8 Updated by Tobias Pinnekamp about 2 months 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.

#9 Updated by Bert Hiddink about 1 month 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

Also available in: Atom PDF