Bug 20680 - Patron add or edit - save button unresponsive
Summary: Patron add or edit - save button unresponsive
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 17.11
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-30 00:41 UTC by Michael
Modified: 2018-12-03 20:03 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2018-04-30 00:41:31 UTC
Not sure if this is a duplicate of #18353

Running Koha 17.11.03, in both Chrome 66.0.3359.139 and IE 11.0.9600.18977.

At patron edit screen, 'save' button does nothing. 'cancel' returns to patron details view. Similarly, trying to enter a new patron, 'save' button does nothing.

Consistent lack of response in Chrome and IE, with both staff (superlibrarian) account and administrator account. 

"quick add" form displays two save buttons on toolbar, both unresponsive.

---

Weirdly, I am able to save changes to my superlibrarian account when logged in as administrator, but not to any other patron account.
Comment 1 Michael 2018-04-30 04:58:23 UTC
Further testing shows I am able to create & edit Staff, Professional, and Organisation patrons, but not Adult or Child. All other details in Patron Category are identical except for Koha's predefined "type" category.
Comment 2 Katrin Fischer 2018-04-30 05:33:22 UTC
Can you check if there is a Javascript error maybe? (try F12 for seeing the console in developer tools)
Comment 3 Michael 2018-04-30 05:53:34 UTC
(In reply to Katrin Fischer from comment #2)
> Can you check if there is a Javascript error maybe? (try F12 for seeing the
> console in developer tools)

Thanks, the developer console shows the following error message, but I don't know enough about Javascript to fix it. I'll forward it to my tech support guy to see what he can do.

***
Uncaught Error: Syntax error, unrecognized expression: jquery-2.2.3.min.js:2 1/2
    at Function.fa.error (jquery-2.2.3.min.js:2)
    at fa.tokenize (jquery-2.2.3.min.js:2)
    at fa.select (jquery-2.2.3.min.js:2)
    at Function.fa [as find] (jquery-2.2.3.min.js:2)
    at n.fn.init.find (jquery-2.2.3.min.js:2)
    at n.fn.init.a.fn.find (jquery-migrate-1.3.0.min.js:2)
    at a.fn.init.n.fn.init (jquery-2.2.3.min.js:2)
    at new a.fn.init (jquery-migrate-1.3.0.min.js:2)
    at n (jquery-2.2.3.min.js:2)
    at update_category_code (members.js:163)
***
Comment 4 Michael 2018-04-30 05:59:07 UTC
... well, I feel stupid now. The issue was with me using forward-slash in the patron category code, which must be interfering with the javascript code.

Marking this resolved - invalid, because error exists between keyboard and chair.
Comment 5 Katrin Fischer 2018-04-30 06:01:54 UTC
Glad you could figure it out. Generally I'd recommend not using any special chars in the your authorised values and others codes as this can have unwanted side effects. Even - and _ may cause Zebra to behave a little differently on searching than you might expect.