[TYPO3-core] RFC: #8092: defect wsid check in workspace-overlay delivering wrong record versions from DB!
Franz Koch
typo.removeformessage at fx-graefix.de
Fri Apr 11 13:07:44 CEST 2008
Hi,
This is a SVN patch request.
Type: Bugfix
Bugtracker reference:
http://bugs.typo3.org/view.php?id=8092
Branches: 4.1 and 4.2
Problem:
The method t3lib_BEfunc::workspaceOL is using a defect check for the
current workspace-id with the following sideeffect:
When you have a page in various versions (through versioning) and are
working in LIVE-Workspace, the method will overlay the current live
version of the record with a older, outdated version.
This happened to me, when I was trying to fetch a pageTS for a certain
page and the setting I needed to check did not show up although I
defined it in pageTS. Then I started debugging and found this bug.
Solution:
correct the operator in the if-statement of the wsid-check from '!==' to
'!='. Patch is provided in bugreport.
--
kind regards,
Franz
More information about the TYPO3-team-core
mailing list