Bug #37065
closedWorkspace preview (FE) shows duplicate records
100%
Description
When in workspace preview versioned records, which are selected by any relation (except uid
or pid
) are shown twice: the original record and the versioned record.
This is caused by a wrong condition in t3lib_pageSelect::enableFields()
: the selection on pid<>-1
should only be added if parameter $noVersionPreview
is false. The parameter is only set to true to retrieve version overlays of specific records (see t3lib_pageSelect::getWorkspaceVersionOfRecord()
).
Steps to reproduce:
- Install (and configure) EXT:blog_example
- create blog record (live)
- create blog post record (live)
- switch to any workspace
- edit blog post (workspace)
- open preview of page containing "list of blogs" plugin
This shows the blog created above containing two blog posts (in workspace frame).
Updated by Gerrit Code Review almost 13 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review almost 13 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review over 12 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127
Updated by Gerrit Code Review about 12 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127
Updated by Gerrit Code Review over 11 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127
Updated by Gerrit Code Review over 11 years ago
Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127
Updated by Gerrit Code Review over 11 years ago
Patch set 11 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/24008
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/24009
Updated by Timo Webler over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a81a5816cf94ed873978d85dad25f6a3b7823b74.
Updated by Gerrit Code Review over 11 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/24075
Updated by Timo Webler over 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset d114ddb3f22a62c1c74e4db16e4f9883a877348c.
Updated by Michael Voehringer about 11 years ago
Found some problem where this patch break the preview in the workspace. I opened a followup bug to this ticket, see #54948