Actions
Bug #79577
closedNon admin BE user can not delete pages and some other records
Start date:
2017-02-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When trying to delete page when logged in as BE non admin user - getting exception
An exception occurred while executing 'SELECT COUNT(`uid`) FROM `be_groups` WHERE (`pid` IN (?)) AND (`be_groups`.`deleted` = 0)
Looks like it fails when check if there are records from disallowed tables in "sysext/core/Classes/DataHandling/DataHandler.php" when building query on line 8032.
$count = $query->count('uid') ->from($table) ->where($query->expr()->in( 'pid', $query->createNamedParameter($inList, Connection::PARAM_INT_ARRAY) )) ->execute() ->fetchColumn(0);
$inList is string, but expected parameter is array
$query->createNamedParameter([$inList], Connection::PARAM_INT_ARRAY)
Updated by Markus Klein almost 8 years ago
- Status changed from New to Needs Feedback
I'm failing to find this code in the current master branch. Maybe this has been resolved already?
Updated by Stephan Großberndt almost 8 years ago
- Status changed from Needs Feedback to Closed
Actions