Opened 10 years ago

Closed 10 years ago

#636 closed defect (fixed)

INCA export may fail if there are blood samples with missing date

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v2.16
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The INCA export fail in this scenario:

  • "all" option is selected
  • A patient has at least 2 blood samples and at least one of them is missing creation date

The response is a simple "500 Internal sever error" and is not very informative.

Tomcat's log file has a NullPointerException in it.

The NullPointerException is caused when trying to compare the creation date of two blood samples (since only the earliest one should be included in the export).

This is only an issue when the "all" option is selected since when a single year or month is selected a filter on the query will exclude all sample with missing dates.

Change History (1)

comment:1 by Nicklas Nordborg, 10 years ago

Resolution: fixed
Status: newclosed

(In [2674]) Fixes #636: INCA export may fail if there are blood samples with missing date

The exporter should now be able to compare null dates.

Note: See TracTickets for help on using tickets.