Cannot adapt UnauthenticatedPrincipal to IPerson
Bug #321216 reported by
Filip Sufitchi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
New
|
Medium
|
Justas Sadzevičius |
Bug Description
Whenever a piece of code needs to adapt the Principal to a Person to get the current user, that code fails because IPerson cannot adapt Unauthenticated
The adapter should return None.
tags: | added: code-cleanup |
Changed in schooltool: | |
assignee: | nobody → Justas Sadzevičius (justas-pov) |
Changed in schooltool: | |
importance: | Undecided → Medium |
To post a comment you must log in.