Bug 11697

Summary: Thesaurus plugin sets indicators with a space
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: CatalogingAssignee: Fridolin Somers <fridolin.somers>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: m.de.rooy, mtompset, pascale.nalon
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 11697 - Thesaurus plugin sets indicators with a space
Indeed, there whas an error in my patch, please retest.

Description Fridolin Somers 2014-02-06 13:00:08 UTC
When using thesaurus plugin to link a biblio field with an authority, the indicators of the field of authority are set into indicators of biblio field.
The bug is that when an indicator is not defined, it contains a space ' '. This space is then set into biblio field. The user must then erase this space before setting the indicator.
Comment 1 Fridolin Somers 2014-02-06 13:09:27 UTC Comment hidden (obsolete)
Comment 2 Pascale Nalon 2014-03-14 11:29:07 UTC
It's applied well ! Both for 7xx and for 6xx fields, when the indicators are empty.
But it's seems to fail when indicators is not empty.
Comment 3 Pascale Nalon 2014-03-14 11:53:10 UTC
When indicators are like #1 or #0, they are not set in the biblio field
Comment 4 Fridolin Somers 2014-03-19 07:51:13 UTC
Created attachment 26441 [details] [review]
Indeed, there whas an error in my patch, please retest.
Comment 5 Mark Tompsett 2014-03-19 18:06:57 UTC
I think the solution for bug 11955 is nicer. But I still haven't figured out how to test. The indicator fields always go blank after clicking tag editor and choosing an authority record, even if I've modified the authority record to have values in the indicators.

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