#27 closed defect (fixed)

Provable correctness test with salt or ester parents is producing an extra note

Reported by: Mike Dewhirst Owned by:
Priority: medium Version: 1.x
Keywords: salt ester notapp note Cc:

Description

test_5_3_polymerinresinsolution is now producing 7 notes instead of 6. The extra note is titled ...

Salt and/or ester parent hazards
Salt and/or ester parent hazards - Not applicable

When the "Not applicable" note exists, the software should not produce the other note. This might be a timing issue in the test itself.

Change History (1)

comment:1 by Mike Dewhirst, 19 months ago

Resolution: fixed
Status: assignedclosed

The problem was an improvement in the chemical save process which generates notes a little earlier than previously. The polymer-in-resin-solution chemical does have ester parents which are not applicable due to chemical reactions and the provable correctness process framework was aware of this.

The provable correctness test class now checks and updates the note title if the process tries to add a "Not applicable" note. It now adds "Not applicable" to an existing note just like humans would!

Ticket closed and Provable Correctness improved :-)

Note: See TracTickets for help on using tickets.