Bug 28199

Summary: MARC framework CSV and ODS import incomplete or corrupted - part 2
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 27968    
Bug Blocks:    

Description Victor Grousset/tuxayo 2021-04-22 19:13:19 UTC
Test plan 1
1. Export default MARC framework in CSV
2. Open the .csv with LibreOffice and save it
3. Create a new framework
4. import the CSV
5. See MARC structure of the new framework
6. Tags are missing the trailing zeros (10 instead of 010)
7. View subfields of tag 10/010
8. Compare with default framework
9. Subfields are missing
     note, why does on the default framework, these two URLs don't yield the same result?
     /koha/admin/marc_subfields_structure.pl?tagfield=010&frameworkcode=
     /koha/admin/marc_subfields_structure.pl?tagfield=10&frameworkcode=3
     It would also make sense that 10 doesn't yield anything.
10. Same with 031/31
      default framework still has different output for 31 and 031

Test plan 2
1. Export default MARC framework in .ods
2. Open the .ods with LibreOffice
3. Save it
4. Create a new framework
5. import the .ods
6. See MARC structure of the new framework
7. View subfield of tag 010
8. Compare with default framework
9. See Also: 4, and Link:4 have appeared (the code of my new framework code is 4)


Testing notes:
Tags with a lot or diverse subfields:
010
100
240
995

031
110
600
700
Comment 1 Victor Grousset/tuxayo 2021-04-22 19:14:18 UTC
Follow up of bug 27968 which solved part of the issues
Comment 2 Martin Renvoize (ashimema) 2024-06-10 15:56:11 UTC
So what's outstanding here?