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

            Bug ID: 33335
           Summary: MARC overlay rules broken because of
                    "categorycode.categorycode " which contains "-"
 Change sponsored?: ---
           Product: Koha
           Version: master
          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]

Created attachment 148696
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148696&action=edit
the page half loaded

The "MARC overlay rules" page becomes inaccessible if in the DB there is in the
"categories" table a "categorycode" which contains a "-". This happens because
of the javascript function on the page "marc-overlay-rules.tt" line 469. The
problem that is caused is the "SyntaxError: missing : after property id".

Plan test:

1- Go to Administration->Patron categories
2- Make sure you don't already have a patron categories that contains a "-"
3- Go to Administration->Record matching rules
4- Everything should be displayed as it does
5- Return to Patron categories
6- Add a new category
      In the category code put a "-" and save
7- Return to Record matching rules
      The page should be half loaded as in the photo

The solution should not prevent the user from putting "-" in the category code
but the Record matching rules accept the category code with "-".

-- 
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]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to