[TYPO3-core] RFC #16794: Bug: Save and view triggers preview of wrong page in workspaces
François Suter
fsu-lists at cobweb.ch
Tue Dec 21 11:16:54 CET 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=16794
Branches:
4.3 and 4.4
Problem:
When clicking the "Save & view" button after editing a page that is new
or has been modified in a workspace, the wrong page is previewed. The id
passed to the preview is the id of the versioning record. This is wrong.
It should be the id of the original page record. TYPO3 takes care of the
proper overlaying.
A simple test scenario is described in the bug tracker entry.
Solution:
Process the id in t3lib_BEfunc::viewOnClick() and change it to the
original page id if defined.
Notes:
The problem is already solved (differently) in the SVN version of the
new workspaces module for 4.5.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16794_4-3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101221/741bd40d/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16794_4-4.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101221/741bd40d/attachment.asc>
More information about the TYPO3-team-core
mailing list