[Koha-bugs] [Bug 6465] Errors in UNIMARC plugins for fixed length fields (for | and space) (T::T issue)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 6 13:54:12 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6465

Janusz Kaczmarek <januszop at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4371|0                           |1
        is obsolete|                            |

--- Comment #4 from Janusz Kaczmarek <januszop at gmail.com> 2011-06-06 11:54:12 UTC ---
Created attachment 4374
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4374
Proposed patch (corrected)

This is a corrected version of the patch.  One has to pay attention if the $fx
resulting from substr () is defined.  In fact, it happens that if it comes from
the end of the $result string and there were spaces at the end of the coded
data, the spaces are cut off when passing the data from addbiblio dialog to the
plugin. 

For instance if you have in you record:
"        d        k  y0frey50        "
then you will get
"        d        k  y0frey50"
in the plugin.

So the test if $fx is defined in now being done.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list