Project

General

Profile

Actions

Bug #72298

closed

Edit button of custom tables in page view is broke

Added by Gregor Sievert over 8 years ago. Updated over 5 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 #1

Updated by Morton Jonuschat over 8 years ago

  • Target version changed from 7 LTS to Candidate for patchlevel
Actions #2

Updated by Markus Klein over 8 years ago

  • Category set to Backend API
  • Assignee set to Markus Klein
  • Complexity set to no-brainer
  • Is Regression changed from No to Yes
Actions #3

Updated by Gerrit Code Review over 8 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

Actions #4

Updated by Markus Klein over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF