[Bug 40520] New: PatronSelfRegistrationAgeRestriction doesn't save 'null'
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40520 Bug ID: 40520 Summary: PatronSelfRegistrationAgeRestriction doesn't save 'null' Change sponsored?: --- Product: Koha Version: 25.05 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: sbrown@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org If I add an age to PatronSelfRegistrationAgeRestriction and save, but then want to remove the age to disable the system preference, 'null' won't save properly. I get a 'Nothing to save' message, and the original value is still enforced. If I then leave the page and later return to the system preference, the entry box appears null even though the original value is still being enforced. As a temporary (and unintuitive) workaround, I can save 0 and still self-register patrons of any age. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40520 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com Summary|PatronSelfRegistrationAgeRe |PatronSelfRegistrationAgeRe |striction doesn't save |striction doesn't save |'null' |blank --- Comment #1 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Bug 40405 seeks to move away from NULL system preferences, so I suppose we really want to blank this instead? I can confirm that setting the preference to 0 makes it act as if unset, rather than requiring all self-reg patrons to be less than 1 year old. This is convenient and makes sort sort of sense, but it's clear enough that I'm happy to rely upon it as a solution here. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40520 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|OPAC |System Administration CC| |gmcharlt@gmail.com Assignee|oleonard@myacpl.org |koha-bugs@lists.koha-commun | |ity.org --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- In my test (in main) clearing the field works fine if I use the keyboard. If I select a value and use the context menu to cut the text it won't save correctly. The JS on the page doesn't recognize that action as a change. Sara were using the keyboard to remove the entry from the PatronSelfRegistrationAgeRestriction field? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40520 --- Comment #3 from Sara Brown <sbrown@bywatersolutions.com> --- Hi Owen - I used backspace on my keyboard to clear the field. It appears to clear, but then I get the 'Nothing to save' message when I save. (Apologies if I'm misunderstanding the question!) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org