https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26546

            Bug ID: 26546
           Summary: bulkmarcimport.pl should ignore MarcFieldFor* sysprefs
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

While importing with bulkmarcimport.pl, if some of MarcFieldFor* system
preference had been set, those fields/subfields will be created, empty or with
a "CLI CLI".

This happens regardless of the framework setup and potentially overwriting data
from the imported record.

For e.g., if:

MarcFieldForCreatorId    "$borrowernumber"  901$l
MarcFieldForCreatorName  "$userfirstname $usersurname"  901$m
MarcFieldForModifierId   "$borrowernumber"  901$n
MarcFieldForModifierName "$userfirstname $usersurname"  901$o

INPUT:  901    $a BIBLO $b 00011605 $o GEORGE
OUTPUT: 901    $a BIBLO $b 00011605 $o CLI CLI $l  $m CLI CLI $n

In this case 901$o was overwritten.

The "CLI CLI" comes from the set_userenv call on Script.pm.

This can be seen just googling: "CLI CLI" inurl:"cgi-bin/koha"

Maybe related to Bug 24906.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to