[Koha] Incomplete import of framework

zefanja koha at zefanjas.de
Sat Oct 19 23:35:49 NZDT 2019


Hello,

I've noticed something similar today. I couldn't import a edited
framework neither in CSV or ODS format. If I export (e.g. default
framework) a  framework and import it right away - no problem. But when
I open it in LibreOffce (6.3), safe it, I'm no longer able to import it.
Koha just imports some of the tags and no subfields.

I'm on Koha 19.05. (latest version).

One thing I noticed: Koha exports in csv like this:

"tagfield","liblibrarian","libopac","repeatable","mandatory","authorised_value","ind1_defaultvalue","ind2_defaultvalue","frameworkcode"

Everything is in quotation marks.

When I open the csv in LibreOffice and save it, it looks like this:

tagfield,liblibrarian,libopac,repeatable,mandatory,authorised_value,ind1_defaultvalue,ind2_defaultvalue,frameworkcode,,,,,,,,,

No quotation marks anymore (only on some line?!) and some extra commas
at the end.

Best Regards,
Stephan

Am 30.07.19 um 02:06 schrieb Katrin Fischer:
> Hi Michael,
> 
> I just retested on master and had the same bad result.
> 
> I have filed a bug:
> 
> *BugĀ 23398*
> <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23398> -
> Exporting/Reimporting frameworks in XML format will give incomplete results
> 
> Katrin
> 
> On 23.07.19 18:25, Michael Kuhn wrote:
>> Hi
>>
>> There seems to be a problem when trying to import a framework.
>>
>> As usual when creating a new framework I did export the standard
>> framework in XML format, created a new framework ABC and the imported
>> the XML file into the new framework ABC.
>>
>> I tried to do this in virgin installations of Koha 18.11.04 and Koha
>> 19.05.00 but instead of importing all 345 MARC fields, only 102 were
>> actually imported.
>>
>> Is this a bug or did I miss something?
>>
>> However, I then tried to export and import a CSV file which worked as
>> expected.
>>
>> Best wishes: Michael
> _______________________________________________
> Koha mailing listĀ  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list