Opened 6 years ago

Closed 6 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.

Change History (1)

comment:1 Changed 6 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [2707]) Fixes #639: Case summary may throw ItemNotFoundException?

Note: See TracTickets for help on using tickets.