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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #55609|0                           |1
        is obsolete|                            |
  Attachment #55610|0                           |1
        is obsolete|                            |
  Attachment #55611|0                           |1
        is obsolete|                            |

--- Comment #7 from Jonathan Druart <[email protected]> 
---
Created attachment 56032
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56032&action=edit
Bug 17088 - Bad MARC XML can halt export_records.pl

If export_records.pl encounters a record that fails to load correctly as
a MARC::Record the export process will fail and only the records
encountered up to that point will be exported.

Test Plan:
1) Pick a record in your database, and replace the biblioitems.marcxml field
with some random characters
2) Export your records using the command:
   misc/export_records.pl  --format xml --record-type bibs --filename
/tmp/biblios.xml
3) Note you get an error and the script ends prematurely
4) Apply this patch
5) Repeat step 2
6) Note the full record set is exported ( except for your bad record )
7) Note an error is still generated for your bad record ( useful for
    tracking down bad records ).

Signed-off-by: Marcel de Rooy <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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