https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43767

            Bug ID: 43767
           Summary: PatronsPerPage should be validated to be an int
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: System Administration
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

The system preference PatronsPerPage should be validated as it will break
things when users delete the value or put a sting in it.

To recreate:
- go to /cgi-bin/koha/admin/preferences.pl?op=search&searchfield=PatronsPerPage
- empty the value for the syspref
- save
- open dev console 
- go to /cgi-bin/koha/members/members-home.pl?firstletter=A

Error in Firefox log says: Uncaught SyntaxError: expected expression, got ','

replay with the value set to "abc"
- Firefox error says: Uncaught ReferenceError: abc is not defined

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/

Reply via email to