{"action":"created","issue":{"url":"https://api.github.com/repos/senaite/senaite.core/issues/693","repository_url":"https://api.github.com/repos/senaite/senaite.core","labels_url":"https://api.github.com/repos/senaite/senaite.core/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/senaite/senaite.core/issues/693/comments","events_url":"https://api.github.com/repos/senaite/senaite.core/issues/693/events","html_url":"https://github.com/senaite/senaite.core/issues/693","id":300594217,"number":693,"title":"Multiple users adding ARs causes Database Conflict Error","user":{"login":"Lunga001","id":10023210,"avatar_url":"https://avatars2.githubusercontent.com/u/10023210?v=4","gravatar_id":"","url":"https://api.github.com/users/Lunga001","html_url":"https://github.com/Lunga001","followers_url":"https://api.github.com/users/Lunga001/followers","following_url":"https://api.github.com/users/Lunga001/following{/other_user}","gists_url":"https://api.github.com/users/Lunga001/gists{/gist_id}","starred_url":"https://api.github.com/users/Lunga001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lunga001/subscriptions","organizations_url":"https://api.github.com/users/Lunga001/orgs","repos_url":"https://api.github.com/users/Lunga001/repos","events_url":"https://api.github.com/users/Lunga001/events{/privacy}","received_events_url":"https://api.github.com/users/Lunga001/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-27T11:30:41Z","updated_at":"2018-03-01T07:17:38Z","closed_at":"2018-03-01T07:17:38Z","author_association":"CONTRIBUTOR","body":"## Steps to reproduce\r\n    1. Open 2 browsers(Firefox and Google Chrome)\r\n    2. On both browsers Add 15 ARs\r\n    3. Sellect the 'All' Analysis Profiles\r\n    4. Click submit on both browsers\r\n\r\n## Current behavior\r\n      1. On one browser the spinner stops spinning \r\n      2. And on the logs there should be an error like this\r\n\r\n         **2018-02-27T12:13:41 INFO ZPublisher.Conflict ConflictError at /senaite/clients/client-\r\n         1/ajax_ar_add/submit: database conflict error (oid 0x0d9d, class \r\n         Products.PluginIndexes.BooleanIndex.BooleanIndex.BooleanIndex) (2 conflicts (0 unresolved) \r\n         since startup at Tue Feb 27 11:53:23 2018)**\r\n## Expected behavior\r\n     Spinner should continue spinning until the all the ARs are created\r\n## Screenshot (optional)\r\nAlso please note that this can can occur in different places but mostly happens in https://github.com/senaite/senaite.core/blob/master/bika/lims/idserver.py#L396 \r\nI've tested on https://senaite.ridingbytes.com and it did time out"},"comment":{"url":"https://api.github.com/repos/senaite/senaite.core/issues/comments/369499384","html_url":"https://github.com/senaite/senaite.core/issues/693#issuecomment-369499384","issue_url":"https://api.github.com/repos/senaite/senaite.core/issues/693","id":369499384,"user":{"login":"Lunga001","id":10023210,"avatar_url":"https://avatars2.githubusercontent.com/u/10023210?v=4","gravatar_id":"","url":"https://api.github.com/users/Lunga001","html_url":"https://github.com/Lunga001","followers_url":"https://api.github.com/users/Lunga001/followers","following_url":"https://api.github.com/users/Lunga001/following{/other_user}","gists_url":"https://api.github.com/users/Lunga001/gists{/gist_id}","starred_url":"https://api.github.com/users/Lunga001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lunga001/subscriptions","organizations_url":"https://api.github.com/users/Lunga001/orgs","repos_url":"https://api.github.com/users/Lunga001/repos","events_url":"https://api.github.com/users/Lunga001/events{/privacy}","received_events_url":"https://api.github.com/users/Lunga001/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T07:17:38Z","updated_at":"2018-03-01T07:17:38Z","author_association":"CONTRIBUTOR","body":"Yes, I've tested again but could nit reproduce it"}}
{"actor":{"display_login":"Lunga001"}}