-
Notifications
You must be signed in to change notification settings - Fork 1
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
The blocked status is not automatically removed when the block period ends. #86
Comments
@IanaVagner @ZharIvan |
We have two possible scenarios: -Automatic unblocking occurs after the block period expires. |
@IanaVagner what should we do with orders which have been waiting for the equipment to be unblocked? When we were blocking the equipment we checking if it has orders within current time and status "prepared" or "approved". Then we set to those orders the new status "Blocked". So we loose the previous status of the orders. Currently the UnblockEquipment() (it's not the same function as for the issue, there will be another function for unblocking expired blockings) doesn't do anything with the blocked orders for the blocked equipment, so this might be kind of a resource leak. Are such blocked orders managed manually? If so, will we also manage them manually in this case and just leave "blocked"? |
@ZharIvan maybe you can provide some info about my previous question |
@ZharIvan @IanaVagner |
Concerning my questions above we decided to
|
…tomatically_removed_when_block_period_ends
The reservation for one day, the entry should be from 00:00:00 to 23:59:59 on the same day, at 00:00:00 the next day the blocking should be automatically canceled. |
Steps to Reproduce the Bug:
The text was updated successfully, but these errors were encountered: