Actions
Bug #72298
closedEdit button of custom tables in page view is broke
Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
Start date:
2015-12-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:
Description
If you add a custom extension to the page module via "$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_myext']", than the edit link is broke.
Since 7.6.1 it tries to fetch a record with the id of the pid and not the record uid to edit.
In TYPO3\CMS\Backend\View\PageLayoutView::makeOrdinaryList()
7.6.0 (Line 898):
$params = '&edit[' . $table . '][' . $row['uid'] . ']=edit';
7.6.1(Line 999) :
$urlParameters = [ 'edit' => [ $table => [ $this->id => 'edit' ] ], 'returnUrl' => GeneralUtility::getIndpEnv('REQUEST_URI') ];
$this->id is just wrong! It has to be $row['uid']
Actions