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

Jan Kissig <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #5 from Jan Kissig <[email protected]> ---
From bug 41147 there is an important comment from Nick in his patch:

# We increment here, if a record is skipped because we can't load form the
batch or can't be converted
# it still counts against the limit if a number to process is passed

And so I created a file with the first record to be broken to test against
param n=1 which would mean that only 1 record should be imported from the given
file.
As the first record is broken the script then should say 

0 records imported (though 1 record processed)

But the output is still like  '1 MARC records done in ...' so I think there
needs to be done a bit more or am I misinterpreting the number param to count
only successful records?


Tested via: perl misc/migration_tools/bulkmarcimport.pl -b -v -n=1 -m MARCXML
--file broken.xml

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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