[TYPO3-core] RFC 15502: localization links in list mode are brocken

Björn Pedersen pedersen at frm2.tum.de
Tue Aug 24 11:34:16 CEST 2010


Am 24.08.2010 11:09, schrieb Gosign | Caspar Stuebs:
> Hi Björn,
> 
> Am 24.08.2010 09:28, schrieb Bjoern Pedersen:
>> v6 is still wrong. The backPath is added by issueCommand already.
> 
> no, it is not. The backpath inside typo3/template.php is not the same as
> inside typo3/class.db_list_extra.inc, as the first one is working in
> directory typo3/ (backpath = ''), while the second one is included by
> typo3/sysext/list/mod1/db_list.php and is working in that directory
> (backpath = '../../../').




> 
> with patch v6 all works expected, with patch v7 I get an error while
> clicking on the localisation link:
> 
> The requested URL /typo3/sysext/list/mod1/tce_db.php was not found on
> this server.

I get the reversed behaviour here. Probably a patch
(http://bugs.typo3.org/view.php?id=15242)  to get fe-edtinig working was
the main reason for this difference in results.


> 
> Am 23.08.2010 22:42, schrieb Steffen Kamper:
>> brr - the handling of links and backpath in listmodule(s) is really
>> awful. It doesn't mattered before as backPath was empty all the time.
> 
> yes, it is.
> 
> I found that $this->backPath is used at nearly all occurences where a
> backpath is needed. But in some cases the $GLOBALS['BACK_PATH'] is used
> instead. This should be fixed to use $this-backPath at any time. (see
> patch v8 with additionally CGL issues)
> 
> I had a look if it is possible to change the backpath to the contstant
> TYPO3_mainDir as it should work with a path relative to the page-root,
> but in some cases the backpath needs to be relative to the called
> script. :-(
> 
> So there should be a lot of work to do...
> 
> Viele Grüsse
> 
> Caspar Stuebs
> Entwicklung
> 
> ***Gosign im Jahrbuch der Werbung 2009***
> 
> NEW | We web pink: www.bebegeneration.de
> We web green: www.greenpeace-hamburg.de
> We web baguette: www.renault-safety.com
> 



More information about the TYPO3-team-core mailing list