Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] Pb sur FileVoter #2674

Merged
merged 1 commit into from
Jun 11, 2024
Merged

[QA] Pb sur FileVoter #2674

merged 1 commit into from
Jun 11, 2024

Conversation

hmeneuvrier
Copy link
Collaborator

@hmeneuvrier hmeneuvrier commented Jun 10, 2024

Ticket

#2668

Description

Fix de l'erreur Uncaught PHP Exception TypeError: "App\Security\Voter\FileVoter::isAdminOrRTonHisTerritory(): Argument #2 ($user) must be of type App\Entity\User, null given, called in /app/src/Security/Voter/FileVoter.php on line 39" at FileVoter.php line 94 (ouverture d'un fichier non visible à l'usager en dehors d'une connexion à la plateforme)

Changements apportés

  • Changement du voter

Pré-requis

Tests

  • Ouvrir un fichier depuis la fiche BO, vérifier que c'est ok
  • Idem depuis la fiche de suivi usager

Copy link

sonarcloud bot commented Jun 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@hmeneuvrier hmeneuvrier changed the title fixFileVoter #2668 [QA] Pb sur FileVoter Jun 10, 2024
@hmeneuvrier hmeneuvrier marked this pull request as ready for review June 10, 2024 18:40
Copy link
Collaborator

@emilschn emilschn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK pour moi !

@emilschn emilschn merged commit 9c3738e into develop Jun 11, 2024
3 checks passed
@hmeneuvrier hmeneuvrier deleted the bugfix/2668-qa-pb-sur-filevoter branch June 27, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants