-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acquisitions: adding a receipt line right after order leads to an error 403 #3414
Comments
random behavior, seems due to When sending on order, the backend will generate a notification. If the notification dispatch is successful, order-lines and order are update and reindex. This behavior seems synchronous (it must be!) https://github.com/rero/rero-ils/blob/staging/rero_ils/modules/acquisition/acq_orders/api. UI behavior is based on ES index (order status is only stored/process for ES). If the order status is still "PENDING" (not yet indexed as "ORDERED") then the |
Re-upping this issue as it is quite annoying for users. Either:
We must find a way to allow receipts to be performed right after having sent an order, or at least without having to wait for several minutes! |
* Closes rero#3414. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
* Closes rero#3414. Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
Still cannot reproduce consistently, which means it is very difficult to fix. |
Bug description:
When trying to do an acquisition reception a short time after having performed the acquisition order, it often leads to an error 403. Moreover, the "Receipt" tab is not available after sending an order unless the page is reloaded.
Expected behavior:
I should be able to add a receipt line even if I just sent the acquisition order, without having to wait or reloading the page.
Steps to Reproduce:
Version:
v1.18.0
Anything else?
Might be linked to the reindexing that takes some time?
The text was updated successfully, but these errors were encountered: