Bug #82750

Workspace preview doesn't preview MM relations properly

Added by Lorenz Ulrich over 3 years ago. Updated about 2 months ago.

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

0%

Estimated time:
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 relationsClosedBenni Mack2017-05-12

Actions
Related to TYPO3 Core - Bug #85061: Extbase doesn't overlay workspace recordsClosedNicole Cordes2018-05-22

Actions
#1

Updated by Lorenz Ulrich over 3 years ago

  • Description updated (diff)
#2

Updated by Tymoteusz Motylewski almost 3 years ago

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

Updated by Thomas Prangenberg almost 3 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 over 1 year 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 about 1 year 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 10 months ago

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

Updated by Benni Mack 10 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 10 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 10 months 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

#10

Updated by Rastislav Birka 4 months ago

is a patch planned for 9.5?

#11

Updated by Tina Westner 4 months 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.

#12

Updated by Gerrit Code Review about 2 months 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

#13

Updated by Gerrit Code Review about 2 months 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

#14

Updated by Gerrit Code Review about 2 months 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

#15

Updated by Gerrit Code Review about 2 months 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

#16

Updated by Gerrit Code Review about 2 months 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

#17

Updated by Gerrit Code Review about 2 months 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

#18

Updated by Gerrit Code Review about 2 months 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

#19

Updated by Gerrit Code Review about 2 months 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

#20

Updated by Gerrit Code Review about 2 months 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

#21

Updated by Gerrit Code Review about 2 months 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

#22

Updated by Gerrit Code Review about 2 months 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

#23

Updated by Gerrit Code Review about 2 months 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

#24

Updated by Gerrit Code Review about 2 months 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

Also available in: Atom PDF