Task #10846 (new)
Opened 11 years ago
Last modified 9 years ago
Collect ChgrpValidation exceptions — at Initial Version
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Milestone: | 5.x |
Component: | Services | Version: | n.a. |
Keywords: | fs | Cc: | fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 1.5d |
Sprint: | FS demo 4.2 |
Description
When the first validation error (foreign key constraint) is encountered during graph processing, an exception is immediately thrown and the ID of the object causing the exception is returned in the constraints field of the omero::cmd::ChgrpERR object. Clients would benefit from having all the constraints rather than just the first such constraint.
Currently there is nothing in place to allow this type of detection. A possible workaround may be to perform a query (see #10782) before executing the chgrp.
See: