Project

General

Profile

Actions

Bug #82750

closed

Workspace preview doesn't preview MM relations properly

Added by Lorenz Ulrich over 6 years ago. Updated over 2 years ago.

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

100%

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 4 (1 open3 closed)

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
Related to TYPO3 Core - Bug #89456: Translations of IRRE Extbase Records in Workspaces not savedClosed2019-10-18

Actions
Related to TYPO3 Core - Bug #99244: DataMapper uses a lot of memory when retrieving MM-relations in workspacesUnder Review2022-12-02

Actions
Actions #1

Updated by Lorenz Ulrich over 6 years ago

  • Description updated (diff)
Actions #2

Updated by Tymoteusz Motylewski almost 6 years ago

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

Updated by Thomas Prangenberg over 5 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?

Actions #4

Updated by Hannes Bochmann about 4 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!

Actions #5

Updated by Steve Lenz almost 4 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.

Actions #6

Updated by Benni Mack over 3 years ago

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

Updated by Benni Mack over 3 years ago

Hey,

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

Actions #8

Updated by Tobias Pinnekamp over 3 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.

Actions #9

Updated by Bert Hiddink over 3 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

Actions #10

Updated by Rastislav Birka about 3 years ago

is a patch planned for 9.5?

Actions #11

Updated by Tina Westner about 3 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.

Actions #12

Updated by Gerrit Code Review almost 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

Actions #13

Updated by Gerrit Code Review almost 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

Actions #14

Updated by Gerrit Code Review almost 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

Actions #15

Updated by Gerrit Code Review almost 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

Actions #16

Updated by Gerrit Code Review almost 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

Actions #17

Updated by Gerrit Code Review almost 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

Actions #18

Updated by Gerrit Code Review almost 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

Actions #19

Updated by Gerrit Code Review almost 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

Actions #20

Updated by Gerrit Code Review almost 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

Actions #21

Updated by Gerrit Code Review almost 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

Actions #22

Updated by Gerrit Code Review almost 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

Actions #23

Updated by Gerrit Code Review almost 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

Actions #24

Updated by Gerrit Code Review almost 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

Actions #25

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

Actions #26

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

Actions #27

Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #28

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
Actions #29

Updated by Benni Mack over 1 year ago

  • Related to Bug #89456: Translations of IRRE Extbase Records in Workspaces not saved added
Actions #30

Updated by Markus Klein 6 months ago

  • Related to Bug #99244: DataMapper uses a lot of memory when retrieving MM-relations in workspaces added
Actions

Also available in: Atom PDF