Summary: | Thesaurus plugin sets indicators with a space | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Cataloging | Assignee: | 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 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
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
Created attachment 25071 [details] [review] Bug 11697 - Thesaurus plugin sets indicators with a space 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. This patch sets indicator as empty string when containing a space. Test plan : - Create a new biblio record - Select a field managed with a thesaurus. For example 700 - Click on thesaurus plugin icon - Search and choose an authority record with no indicator set on heading field => Without patch, the indicators of the biblio field (ie 700) are filled with a space character => With patch, the indicators of the biblio field (ie 700) are empty - Click on plugin icon - Search and choose an authority record with indicators set on heading field => The indicators are set in biblio field 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. When indicators are like #1 or #0, they are not set in the biblio field Created attachment 26441 [details] [review] Indeed, there whas an error in my patch, please retest. 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 *** |