Bug 13714

Summary: Problems deleting the delay field in overdue triggers
Product: Koha Reporter: David Roberts <david.roberts>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: david.roberts, gmcharlt
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25049
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Roberts 2015-02-16 17:14:26 UTC
It is not possible to delete the delay field in the overdue triggers policy if it is the last notice tab to be edited.

To reproduce:

Go to an overdue trigger policy (cgi-bin/koha/tools/overduerules.pl) that contains a delay in the 1st, 2nd and 3rd tabs.

Delete all of the values from the delay fields in the first and second tabs. Save changes.

Delete the values from the delay fields in the third overdue tab. Save. The changes will not be saved. It does not matter in which order the tabs are edited.

If the check boxes are also edited at the same time as the last delay fields are edited, these changes will not be saved either, although they can be saved if the delay fields are not edited.
Comment 1 Katrin Fischer 2019-02-10 21:34:36 UTC
This is still valid (and strange).
Comment 2 Katrin Fischer 2020-04-28 20:46:37 UTC
Linking bug 25049 - it appears we need some validation for delay changes?