Bug #15299
closedclass.db_list_extra::makeControl() renders broken edit icon in custom DB Lists
0%
Description
I am developing an extension that has a customer Record Listing page and therefore I am trying to use the core classes associated with this.
Within the makeControl method in the code section that creats the edit link and icon a call to t3lib_BEfunc::editOnClick() is made however no parameter for backPath is passed therefore the link is broken when created within a customer extension.
To fix this line 802 of typo3/class.db_list_extra.inc should be changed from:
$cells[]='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,'',-1)).'">'.
To:
$cells[]='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,$this->backPath,-1)).'">'.
Call the makeControl() method from within a custom extension (e.g. outside of the core typo3/ folder)
(issue imported from #M2071)