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

Steffen Ritter info at rs-websystems.de
Wed Nov 10 18:37:42 CET 2010


Am 10.11.2010 17:43, schrieb Joerg Kienast:
> 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
+1 on testing, but on reading, please wrap the concatenation point in 
spaces (CGL)


More information about the TYPO3-team-core mailing list