Opened 10 years ago
Closed 10 years ago
#639 closed defect (fixed)
Case summary may throw ItemNotFoundException
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | trivial | Milestone: | Reggie v2.16 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
This is an intermittent error that can only happen soon after after restarting the server or reinstalling Reggie.
If a user enters a non-case string in the 'Case summary' search field, this triggers a lookup by personal number. If the user doesn't have permission to the personal number annotation the code will normally throw a PermissionDeniedException (which is catched and handled). However, if no previous user has initialized the personal number annotation, an ItemNotFoundException is thrown instead. This exception is not catched but is propagated to the GUI. It will disappear as soon as a user with enough permissions has initialized the personal number annotation.
(In [2707]) Fixes #639: Case summary may throw ItemNotFoundException