Opened 8 years ago
Closed 8 years ago
#1774 closed defect (fixed)
Inventory distribute trigger causes update failed in some cases
| Reported by: | Kurt Endress | Owned by: | Kurt Endress |
|---|---|---|---|
| Priority: | medium | Milestone: | Server Release 1.10.4 |
| Component: | Trigger | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
The trigger to handle the is_distributable (Default Inventory) field can cause an error "Update failed. Data has been modified...". This happens when the distibutable default inventory is set on one inventory of an accession and the previously set inventory is also modified. This is because trigger processing for the sample set to Y (X) will cause the data to be modified on the sample previously set to Y.
Also the trigger should allow one distributable sample per form type as in Trac 1175.
Change History (3)
comment:1 by , 8 years ago
| Status: | new → addressed |
|---|
comment:2 by , 8 years ago
| Status: | addressed → released |
|---|
comment:3 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | released → closed |
Note:
See TracTickets
for help on using tickets.

Modification made to the GrinGlobal.AdditionalDataTriggers\InventoryDataTrigger.cs