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
orders of deleted schedule not going away #20
Comments
Update: After redeploying every Workflow in the schedule (with update daily plan option) the orders are gone |
It is the desired behavior that the Daily Plan and its orders are independent from the underlying schedule. Orders are planned and submitted for the period that you specify in the Daily Plan settings. When you delete a schedule then you are asked if related orders should be updated (=removed) or if they should remain in place. If you do not agree to delete orders at the point in time of deletion of a schedule then we find the behavior that you describe. |
We checked this and cannot confirm your observation. When you receive the popup window to confirm removal of a schedule then the options to update the Daily Plan are offered. Update of the Daily Plan includes to remove orders from the Daily Plan starting from the indicated date (now or specific date). This operation removes the orders of the schedule from the Daily Plan. |
Hi i did a complete Test with Screenshots and it shows two issues.
I can reproduce this on any JS7 Instance. They have all been upgraded from 2.6.0 to 2.6.1 and pached with lates UI Patch Here are the steps: |
There is a permission issue in the logs from daily-plan-service (last line). i am working as root user
|
I did some additional testing.
When i first release a schedule and it does not get into daily plan this ist the content of the logfiles (further below is the log of the second release which is successful): First Release:
Second Release:
|
Let me summarize your findings:
Fixes for both issues will become available with releases 2.5.5 and 2.6.2. |
i have deleted a schedule but the orders do not go away from the daily plan. i have canceled the already submitted orders so they are in planned state. when i restart the daily-plan service the orders are submitted again and planed for the next 7 days.
the deleted schedules are not in the inventory and the trash anymore.
to create an new daily plan with overwrite-option also does not help.
version 2.6.1 (Patch level 1585)
this is in the logs when i try to remove the order:
2023-08-02T06:48:08,607 INFO qtp363988129-2996 c.s.j.d.c.JOCOrderResourceImpl - [deleteOrdersFromPlan][getOrderFilter][jobscheduler]missing permissions
when i click on the edit icon in the daily plan i get an exception:
The text was updated successfully, but these errors were encountered: