Concurrent accession add

12 views
Skip to first unread message

Edgar Rodríguez Silva

unread,
Jan 13, 2014, 5:02:54 AM1/13/14
to qubi...@googlegroups.com
Hello;

we have found one problem with concurrent work in adding accession records, in AtoM, but I think is a problem to be solved in Qubit. The scenario is as follows.

- More than one user click on "Add accession record" simultaneously. 
- AtoM creates the same accession number for all users.
- The first user saves with success.
- When the second and next users try to save, fails, this is the error message:
Unable to execute INSERT statement. [wrapped: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2014-01-13/0' for key 'accession_U_1'],

I have looked for "bugs" to solve related to this in the project repository, but I have found nothing, then I will add one request.

Best regards

Dan Gillean

unread,
Jan 13, 2014, 1:07:00 PM1/13/14
to qubi...@googlegroups.com
Thanks for posting this, Edgar.

For anyone interested in this thread, Edgar filed an issue ticket here, at which point another community user pointed out a link to an existing issue ticket here, which was more accurately the problem. Concurrent accessions will be handled as expected by the system, but unfortunately, at the moment, only in English - a fix is required for other cultures. We have upped the priority on this issue ticket, for consideration in an upcoming release.

Regards,

Dan Gillean, MAS, MLIS
AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "Qubit Toolkit Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubit-dev+...@googlegroups.com.
To post to this group, send email to qubi...@googlegroups.com.
Visit this group at http://groups.google.com/group/qubit-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages