Bug 17863

Summary: Problems with repeating subfields linked to an authorised value
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: jonathan.druart, m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17818
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2017-01-07 22:32:56 UTC
I kinda hope it's only me, but this is what happens:

I created a new field and subfield 991$a, linked to CCODE for testing.
The field and the subfield are marked as repeatable.

Problem 0: 
- Try to repeat the field without filling in a value
- It will not work, there is a JavaScript error message:
TypeError: divs[i].getAttribute(...) is null  cataloging.js:100:12

Problem 1:
- Select a value for the subfield.
- Repeat the field.
- The value is copied form the original field into the repeated field (should be empty).

Problem 2:
- Try to clear the value in the repeated field using the X in the pull down.
- It won't work.

Problem 3: 
- Try to open the pull down in the repeated field
- It won't work.
Comment 1 Jonathan Druart 2017-01-09 09:01:04 UTC
This looks like a duplicate of bug 17817.

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