Opened 13 years ago
Closed 13 years ago
#344 closed defect (fixed)
Exception when trying to register more than one specimen tube for a case
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v2.0.2 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description (last modified by )
- Start the specimen tube registration wizard and enter a case name.
- In the second step set "Number of tubes" to 2 (or higher). The rest of the information can be left empty or filled in. It doesn't seem to matter.
- In the third step, boxes should already be filled in. Use the 'Suggest' links to automatically get row and column coordinates or enter them manually.
- As soon as coordinates for at least two specimen tubes have been entered (or suggested) the form is disabled and an error message is displayed:
For input string: "null"
Currently there seems to be no workaround and it is not possible to register cases with more than one specimen tube.
It seems to be working if tabbing through all input fields in the order they appear. The critical part seems to be that if each of the "Box" fields have been in focus the wizard works, but if at least one of the "Box" fields is skipped it will generate the above error as soon as a "Column" field loses focus or if the "Create" button is clicked.
Change History (3)
comment:1 by , 13 years ago
Milestone: | → Reggie v2.0.2 |
---|---|
Status: | new → assigned |
comment:2 by , 13 years ago
Description: | modified (diff) |
---|---|
Priority: | blocker → major |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [1493]) Fixes #344: Exception when trying to register more than one specimen tube for a case
The root of the problem seems to be that box information (eg. the id) is not loaded until the "Box" field in question is losing the input focus. If we never step through that field the wizard will later on (when "Column" field loses focus) try to check well information. This check fails since the box id is not loaded.
This fix consists of three parts: