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']
Updated by Morton Jonuschat almost 9 years ago
- Target version changed from 7 LTS to Candidate for patchlevel
Updated by Markus Klein almost 9 years ago
- Category set to Backend API
- Assignee set to Markus Klein
- Complexity set to no-brainer
- Is Regression changed from No to Yes
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45335
Updated by Markus Klein almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8efc9e0e17ab59b367557d130d2b1db580279a43.
Actions