[Bug 42437] New: Batch patron deletion and anonymization allows empty criteria
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42437 Bug ID: 42437 Summary: Batch patron deletion and anonymization allows empty criteria Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: bibliothek@th-wildau.de QA Contact: testopia@bugs.koha-community.org When sending the first part of the cleanborrowers form the form is checked for any criteria set including a patron_list_id which may not exist. Therefore whole form check does not work and the form gets send anyways to recreate - open cgi-bin/koha/tools/cleanborrowers.pl - open dev console - just click next -> alert with warning 'Please check at least one action' - check Verify you want to delete patrons - click next -> console shows 'Uncaught TypeError: can't access property "value", form.patron_list_id is undefined' expected from code: - when 'Verify you want to delete patrons' is checked and no values is set the following error should appear: alert(_("Please enter at least one criterion for deletion!")); -- 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