- Exposes the selector in the Hard Due Date Values interface so past entries that are no longer valid can be deleted via the client.
- Prevents the current ceiling date from being updated to a past date based on an old hard due date value.
Testing plan:
To reproduce the issue:
- Create a Hard Due Date with a Current Ceiling Date in the future
- Create an associated Hard Due Date Value with an active date earlier than the current date and a ceiling date earlier than the current date.
- run the hard due date updater
Note that:
- The Current Ceiling Date is updated to an earlier date based on the Hard Due Date Value entry.
- It is not possible to select and delete the Hard Due Date Value entry.
Apply the patch and retest
Note that:
- The Current Ceiling Date has not been updated to the past date.
- Past Hard Due Date Values can be selected and deleted.
Working branch is available at:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ mmorgan/ lp1427392_ hard_due_ date_value_ fixes
The fix addresses two issues:
- Exposes the selector in the Hard Due Date Values interface so past entries that are no longer valid can be deleted via the client.
- Prevents the current ceiling date from being updated to a past date based on an old hard due date value.
Testing plan:
To reproduce the issue:
- Create a Hard Due Date with a Current Ceiling Date in the future
- Create an associated Hard Due Date Value with an active date earlier than the current date and a ceiling date earlier than the current date.
- run the hard due date updater
Note that:
- The Current Ceiling Date is updated to an earlier date based on the Hard Due Date Value entry.
- It is not possible to select and delete the Hard Due Date Value entry.
Apply the patch and retest
Note that:
- The Current Ceiling Date has not been updated to the past date.
- Past Hard Due Date Values can be selected and deleted.