Visitar URL original
Tags · contao/core-bundle · GitHub
Skip to content

Tags

Tags

6.0.6

Toggle 6.0.6's commit message
Merge commit from fork

5.7.17

Toggle 5.7.17's commit message
Merge commit from fork

5.3.54

Toggle 5.3.54's commit message
Merge commit from fork

6.0.5

Toggle 6.0.5's commit message
Update the changelog and the language files

5.7.16

Toggle 5.7.16's commit message
Update the changelog and the language files

5.3.53

Toggle 5.3.53's commit message
Update the changelog and the language files

6.0.4

Toggle 6.0.4's commit message
Merge remote-tracking branch 'origin/5.7' into 6.0

# Conflicts:
#	CHANGELOG.md

6.0.3

Toggle 6.0.3's commit message
Version 6.0.3

5.7.15

Toggle 5.7.15's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix the backend search permission checks (see #10430)

Description
-----------

Fixes #10429 

After updating to 5.7.14 the backend search does not work anymore and produces the following entries in the log.
This PR fixes the issue.

```
request.CRITICAL: Uncaught PHP Exception TypeError: "Contao\CoreBundle\Security\Voter\DataContainer\TableAccessVoter::supportsAttribute(): Argument #1 ($attribute) must be of type string, array given" at TableAccessVoter.php line 47
```
After fixing that issue the following error message was logged, which is also fixed in this PR.

```
request.CRITICAL: Uncaught PHP Exception Exception: "Serialization of 'Symfony\Component\Security\Core\Authentication\Token\AbstractToken@anonymous' is not allowed" at TableAccessVoter.php line 102
```

Commits
-------

47a5d4d7 Fix backend search permission checks
f5884343 PHPStan
8df1fe0d ECS

5.7.14

Toggle 5.7.14's commit message
Update the changelog and the language files