Task #45148
closed
show_item does not consider workspace references
Added by Oliver Hader almost 12 years ago.
Updated almost 4 years ago.
Description
typo3/show_item.php does not consider workspace references, that might be IRRE or plain MM.
The reason is the the overlay still uses the uid of the original record (which is the placeholder on new workspace records).
The fix is to use the processed record index "_ORIG_uid" instead of "uid" here, if available.
Files
- Status changed from New to Under Review
- Parent task set to #54853
- Is Regression set to No
Needs to be rechecked, once the workspace fixes for IRRE/MM are integrated.
This screenshot shows, where the accordant workspace elements should be visualized (if any):
- Status changed from On Hold to Accepted
- Target version deleted (
4.5.23)
- TYPO3 Version changed from 4.7 to 6.2
- Description updated (diff)
- Category changed from Backend User Interface to Workspaces
- Parent task deleted (
#54853)
- Status changed from Accepted to Under Review
Reproduce with irre_tutorial:
Preparation:
Enable the irre_tutorial extension for an instance. Most simple way is to create a link in typo3conf/ext to the extension:
ll typo3conf/ext/
irre_tutorial -> ../../typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/
Load the extension via ext manager, db stuff, clean caches.
Test case:
- Live workspace
- Add a page
- Add a content element -> tab irre_tutorial
- Add Hotels (1nff) 'hotel 1' as inline child to content element
- Add 'offer 1 1' as inline child to 'hotel 1'
- Switch to workspace
- Edit the content element
- Add 'offer 1 2' as inline child to 'hotel 1'
- Go to list module
- Extended mode
- 'i' button on 'Hotel 1'
-> "References from this item" shows only 'offer 1 1' but should also show 'offer 1 2'
Another use case: Have a content element with an image in live and add a second image in workspace -> the 'i' modal shows only the first images in the reference list.
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF