[TYPO3-core] RFC: Bug 1236: 404 error while using new content wizard
Michael Stucki
michael at typo3.org
Wed Aug 23 15:06:07 CEST 2006
This is a SVN patch request.
Problem:
Under some circumstances you can get a 404 error while using the "new content
wizard".
Steps to reproduce:
1. Display a page using the list module
2. Click the "Create new record" icon in the top right corner
3. Click the Pagecontent-Wizard
4. Scroll down and click "Go back"
5. You'll end up with a 404 error
Solution:
Change the returnUrl for the new content wizard. Replace each directory level
of the path with ".."
Example:
If $pathToWizard is "typo3/sysext/cms/somefile.php" then the $returnUrl will
be set to "../../../".
It's important that the returnUrl is only changed locally ($R_URI) so
$this->R_URI is not being touched! Otherwise this would cause bad
side-effects.
Branches:
TYPO3_4-0 / Trunk
Bugtracker reference:
http://bugs.typo3.org/view.php?id=1236
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1236.diff
Type: text/x-diff
Size: 1343 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060823/231a61b0/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060823/231a61b0/attachment.pgp
More information about the TYPO3-team-core
mailing list