Opened 19 years ago

Closed 19 years ago

#18 closed defect (fixed)

BioMaterialEvent.addSource and BioMaterialEvent.removeSource doesn't work

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone:
Component: core Version: trunk
Keywords: Cc:

Description

If the "usedQuantity" parameter has been set to null for a source biomaterial (which is a valid value). It is no longer possible to call addSource or removeSource for that source again. Calls to removeSource are ignored and the biomaterial is not removed as a source. Calls to addSource gives a "Duplicate entry" exception from the database. If the "usedQuantity" is a non-null value everything works as expected.

Change History (1)

comment:1 by Nicklas Nordborg, 19 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.