Bug #60702

Clicking on pencil results in "Sorry, you didn't have proper permissions to perform this change."

Added by Gerwin Kramer about 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2014-07-31
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:Backend User Interface Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version:5.5 Sprint Focus:
Complexity:easy

Description

When I'm using the Page module and I click on the pencil of the third (or higher) content item, i get this message: "Sorry, you didn't have proper permissions to perform this change."

Note: no problems in the context menu->edit or List module.

The error is caused by typo3/sysext/backend/Classes/View/PageLayoutView.php line 1313:

$params = '&edit[tt_content][' . $this->tt_contentData['nextThree'][$row['uid']] . ']=edit';

It appears that $this->tt_contentData['nextThree'] is empty at the third content item. An easy fix would be to replace $this->tt_contentData['nextThree'][$row['uid']] with $row['uid']

Out of curiosity, what is the function of this 'nextThree'?


Related issues

related to Core - Bug #60199: Page module: tt_content records are not editable Resolved 2014-07-09

History

#1 Updated by Markus Klein about 1 year ago

Seems to be related to #60199

#2 Updated by Jigal van Hemert about 1 year ago

  • Status changed from New to Closed

Closed as duplicate of #60199 .

And regarding your question: the nextThree data contains information about the content elements around a content element; these are specifically made for the icons for moving, editing, and so on. The name is a relic from the past :-)

If you have extra information, please add it to #60199 . This way we can keep the number of duplicate issues down to a minimum.

Also available in: Atom PDF