Actions
Bug #60702
closedClicking on pencil results in "Sorry, you didn't have proper permissions to perform this change."
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2014-07-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
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'?
Actions