Project

General

Profile

Actions

Bug #37065

closed

Workspace preview (FE) shows duplicate records

Added by Thorsten Kahler almost 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2012-05-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

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:

  1. Install (and configure) EXT:blog_example
  2. create blog record (live)
  3. create blog post record (live)
  4. switch to any workspace
  5. edit blog post (workspace)
  6. open preview of page containing "list of blogs" plugin

This shows the blog created above containing two blog posts (in workspace frame).


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #37209: Workspace preview shows pages changes from all workspacesClosed2012-05-16

Actions
Related to TYPO3 Core - Task #54948: swap workspace won't reset t3ver_wsidClosedOliver Hader2014-01-13

Actions
Actions #1

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

Actions #2

Updated by Gerrit Code Review almost 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127

Actions #3

Updated by Gerrit Code Review almost 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127

Actions #4

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

Actions #5

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

Actions #6

Updated by Gerrit Code Review over 11 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127

Actions #7

Updated by Gerrit Code Review over 11 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11127

Actions #8

Updated by Gerrit Code Review about 11 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127

Actions #9

Updated by Gerrit Code Review over 10 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127

Actions #10

Updated by Gerrit Code Review over 10 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127

Actions #11

Updated by Gerrit Code Review over 10 years ago

Patch set 11 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/11127

Actions #12

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

Actions #13

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

Actions #14

Updated by Timo Webler over 10 years ago

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

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

Actions #16

Updated by Timo Webler over 10 years ago

  • Status changed from Under Review to Resolved
Actions #17

Updated by Michael Voehringer over 10 years ago

Found some problem where this patch break the preview in the workspace. I opened a followup bug to this ticket, see #54948

Actions #18

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF