[TYPO3-core] Workspace Draft Records are shown in Live Workspace in some cases

Joerg Kienast kienast at b13.de
Wed Nov 10 17:43:56 CET 2010


Hi,

this is a SVN patch request

Type: Bugfix

Branch: 4.4, trunk

BT reference:
http://bugs.typo3.org/view.php?id=16335

Problem:
If you create a new record in a draft workspace and don't swap or 
publish it, it is shown in the live workspace as well.

This problem only occurs in some rare cases if you use a Extbase 
extension which works with setRespectStoragePage(false) or if you make 
use enableFields in your SQL query in the frontend to fetch records and 
you don't use a PID check.

This happens because the class.t3lib_page.php doesn't filter out records 
with the pid -1

Solution:

The patch adds a pid != -1 check to filter out those records

Have a nice one,
Joerg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ws_pid.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101110/870d990d/attachment.txt>


More information about the TYPO3-team-core mailing list