[Koha-bugs] [Bug 10407] Allow MARCXML records to be imported with Tools/ Stage MARC records for import

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 12:53:47 CEST 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |19049

--- Comment #56 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #55)
> Hm, I don't agree with saying that plugins are not part of the codebase and
> people are 'lucky' if they work. 
Hmm, this is definitely not what I said!
Specific plugins are simply not part of the codebase. Just a fact.
I was not aware of the statement in the 3.20 release notes btw. Without that
statement you were lucky if you got excel files into Koha. Do not take these
words out of their context please.

> We highlighted creating plugins to convert arbitrary files as a new feature
> in the release notes of 3.20:
> 
> https://koha-community.org/koha-3-20-0-released/
>  Add ability for plugins to convert arbitrary files to MARC from record
> staging tool (bug 12412)

The conversion from arbitrary files should have been incorporated much more
clearly in the interface and the code imo. The format option of the interface
does not show Arbitrary only MARC or MARCXML. It is not mentioned in the online
Help too. The code passes variable $marcrecords to BatchStageMarcRecords.
Inside BatchStageMarcRecords the to_marc plugin is called. Again the same
variable name $marcrecords is used. No mention of any arbitrary file type! No
comment whatsoever, etc.
So I can imagine that when Olli wrote the initial patches, he was not aware of
this. Neither was I when I rescued these patches and got them further.

At this point, we can only open a new report to add e.g. Arbitrary to the
formats when we have a plugin, or some other description from the plugin. And
call to_marc on these lines before passing them to BatchStageMarcRecords.
See bug 19049.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19049
[Bug 19049] Recover the Arbitrary file type on stage-marc-import with plugin
to_marc
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list