| Summary: | New professional cataloguing editor does not handle repeatable fields correctly | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
| Component: | Cataloging | Assignee: | Jesse Weaver <jweaver> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | brendan, julian.maurice, jweaver, m.de.rooy |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 11559 | ||
| Bug Blocks: | |||
| Attachments: |
bib-112.utf8
Bug 15514: Fix error with certain repeatable fields in Rancor Bug 15514: Fix error with certain repeatable fields in Rancor Bug 15514: Fix error with certain repeatable fields in Rancor |
||
Could I ask you to attach the record in question? I remember this error popping up during QA on bug 11559, and I'd like to stamp it out for good. Created attachment 47085 [details]
bib-112.utf8
Created attachment 47368 [details] [review] Bug 15514: Fix error with certain repeatable fields in Rancor Apologies for the lack of test plan. Joubu, could you verify that this fixes your error? Created attachment 47377 [details] [review] Bug 15514: Fix error with certain repeatable fields in Rancor Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Much better. I now get the "Missing mandatory subfield|tag" error, which is expected. Created attachment 47986 [details] [review] Bug 15514: Fix error with certain repeatable fields in Rancor Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to Master - Should be in the May 2016 Release. Thanks Patch pushed to 3.22.x, will be in 3.22.4 |
I get a JS error on saving a record (not modified, just edited an existing one): TypeError: nonRepeatableSubfields[field.tagnumber(...)] is undefined ...d[0] ] != null && nonRepeatableSubfields[ field.tagnumber() ][ subfield[0] ] ) koha-backend.js (line 229, col 89) In koha-backend.js 227 if ( seenSubfields[ subfield[0] ] != null && nonRepeatableSubfields[ field.tagnumber() ][ subfield[0] ] ) { field.tagnumber() returns 210 The field 210 is not marked as repeatable in my default framework