Actions
Bug #53763
closedAbstractRecordList doesn't check if $this->script already contains a "?"
Start date:
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
Checked on 6.1.5 (and 4.5.29)
I've created a class which inherit from AbstractRecordList which doesn't override listUrl.
public function listURL($altId = '') {
return $this->script . '?id=' . (strcmp($altId, '') ? $altId : $this->id);
}
I define the script with "\TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('my_identifier');".
The pagination URL is something like "mod.php?M=my_identifier?id=&pointer=10". The link is broken because it must start with a "&" instead of a "?" in the URL.
To solve that, I have to override listUrl method.
AbstractRecordList::listUrl method could take care of the script content to avoid this.
Updated by Markus Klein about 11 years ago
- Status changed from New to Accepted
- TYPO3 Version changed from 6.1 to 4.5
Can you please push a patch to Gerrit? Target will be 6.2, 6.1, 6.0, 4.7, 4.5
Updated by Markus Klein about 11 years ago
- Subject changed from AbstractRecordList doesn't check if $this->script already contain a "?" to AbstractRecordList doesn't check if $this->script already contains a "?"
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.4 (Backend)
Updated by Michael Oehlhof over 9 years ago
This item can be closed because it is already fixed with item 56470.
Updated by Riccardo De Contardi over 9 years ago
- Status changed from Accepted to Closed
Actions