Bug 40205

Summary: "Default checkout, hold and return policy" cannot be unset
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: cbrannon, gmcharlt, kyle.m.hall
Version: 24.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2025-06-20 12:32:59 UTC
Rules in the "Default checkout, hold and return policy" section of the circulation rules can no longer be deleted/unset.

To test:
- Go to administration > circulation rules
- Enter a value in one of the fields of the 
  "Default checkout, hold and return policy" section
- Save
- Verify the value you entered was stored and is shown on the page
- Click on the button "unset"
- Confirm the confirmation question
- Verify the value still shows, the rule was left unchanged

The expected behavior is that the rule would be deleted and in the first column of the table it should say "Not set" as for a new installation.

This was confirmed to be working correctly in 22.11.
Broken in 24.11
Working correctly in main.
Comment 1 Christopher Brannon 2025-07-03 14:51:37 UTC
I can confirm this is not working.  I had to change the rule to not set and save that to get around this.