Project

General

Profile

Actions

Bug #72298

closed

Edit button of custom tables in page view is broke

Added by Gregor Sievert almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
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']


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #71261: Replace editOnClick in Page Layout ModuleClosedBenni Mack2015-11-03

Actions
Actions

Also available in: Atom PDF