Bug 12777 - Column selection on item batch modification page broken
Summary: Column selection on item batch modification page broken
Status: RESOLVED DUPLICATE of bug 12320
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 12320
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-15 20:56 UTC by Katrin Fischer
Modified: 2015-05-30 13:46 UTC (History)
1 user (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 Katrin Fischer 2014-08-15 20:56:03 UTC
It's no longer possible to select/unselect columns for display. There is a javascript error shown in Firebug:

Error: Syntax error, unrecognized expression: :nth-child
	
...break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecogni...

jquery.js (Zeile 3, Spalte 15259)
Comment 1 Bernardo Gonzalez Kriegel 2014-08-15 22:41:00 UTC
(In reply to Katrin Fischer from comment #0)
> It's no longer possible to select/unselect columns for display. There is a
> javascript error shown in Firebug:
> 
> Error: Syntax error, unrecognized expression: :nth-child
> 	

Mmm, works for me, and without errors (firebug). 
Individually and with select/unselect all.

Tried looking for JS errors using Chrome and Firefox
Comment 2 Bernardo Gonzalez Kriegel 2014-08-16 00:06:24 UTC
(In reply to Bernardo Gonzalez Kriegel from comment #1)
> Mmm, works for me, and without errors (firebug). 

Well, later I found it :(
When I wrote first comment I could not find the error, but later yes.
Clearing browser cache get rid of it (firefox)
Comment 3 Katrin Fischer 2014-08-16 08:13:07 UTC
It worked for me after deleting the cookies - but it broke again as soon as I switched the language and retried. I think there is a bug there, maybe depending on cookies or similar?
Comment 4 Katrin Fischer 2014-08-16 08:25:37 UTC
Deleting the cookies makes my Koha select the German templates and forces me to log in again - might be just coincidence that it appears to work then (outdated templates?).
Comment 5 Katrin Fischer 2014-11-23 10:19:13 UTC
Maybe this will help:

1) Start with english standard templates
2) Go to 'item batch edit'
3) Verify that the column selection and deselection works as described
4) Switch to another language - I tried with ku-Arab and German
5) Repeat steps, verify the column selection is now broken
Comment 6 Katrin Fischer 2015-05-25 07:15:33 UTC
I am still experiencing problems here - the column selection doesn't work, even using the English templates often.
Comment 7 Bernardo Gonzalez Kriegel 2015-05-26 23:14:36 UTC
(In reply to Katrin Fischer from comment #6)
> I am still experiencing problems here - the column selection doesn't work,
> even using the English templates often.

Yes, problem seems to be related with the stored cookie, not related with translation.

But this is solved by Bug 12320 :)

When pressing 'Show all columns' a wrong method was called to remove/empty the cookie, the value stored is 'null', which is wrong.

On top of 12320, using de-DE and es-ES also, no problem detected.

Not sure about status
Comment 8 Bernardo Gonzalez Kriegel 2015-05-30 13:46:06 UTC
New cookie removal from 12320 solve this

*** This bug has been marked as a duplicate of bug 12320 ***