Bug 34546

Summary: Report group code should only contain ASCII chars
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: ReportsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, klas.blomberg
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Fridolin Somers 2023-08-16 20:20:59 UTC
When creating a new report, one can create a new report group.
Since its code will be used in tab id attribute, it should be tested to contain only ASCII chars (and no space) : [a-zA-Z0-9_-]
Comment 1 Fridolin Somers 2023-12-11 20:15:06 UTC
Also looks like an id must start with a letter.
Even if it is under debate for HTML5, we have a library reporting this issue.

See https://stackoverflow.com/questions/5672903/can-i-have-an-element-with-an-id-that-starts-with-a-number
Comment 2 Baptiste Wojtkowski (bwoj) 2024-11-20 12:00:52 UTC
*** Bug 35580 has been marked as a duplicate of this bug. ***