« Previous | Next » 

Revision 940f56d1

ID940f56d124705ba86d13a3ff0bfc48b406b0c42c

Added by Karsten Dambekalns over 8 years ago

[BUGFIX] Redirect instead of raising "Entity not found" exception

If you are logged in into a secured Flow project and delete the
corresponding db user (for whatever reasons) an exception "Entity not
found" is raised and not caught.

With this change the exception is caught and instead PolicyEnforcement
will throw an AuthenticationRequiredException, usually calling a
redirect to the configured login page.

Change-Id: I5ae0ae2c174314ceb21ae641cd4ef140ca82efb7
Resolves: #29907
Releases: master, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted