https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43296
Pedro Amorim (ammopt) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |k Status|Passed QA |Failed QA --- Comment #8 from Pedro Amorim (ammopt) <[email protected]> --- The regex now accepts \w+, but the bug title says "non-numeric," not "non-\w." borrower_attribute_types.code has no character restriction anywhere in the stack, so a code with a hyphen, dot, or space still isn't recognised, falls back to datetime, and hits the same DBI crash reported here. Steps to reproduce: 1. Go to <staff_url>/cgi-bin/koha/admin/patron-attr-types.pl?op=add_form 2. Create a patron attribute type with code SHOW-BCODE (hyph. 3. Go to <staff_url>/cgi-bin/koha/reports/issues_stats.pl 4. Select 'Issuing library' as Row and SHOW-BCODE as Column. 5. Submit the report. 6. Same error as before the patch: DBI Exception: ... 'koha_kohadev.statistics.datetime' isn't in GROUP BY. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
