[Koha-bugs] [Bug 10480] Cataloging plugins without redefining

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 17 15:31:27 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10480

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19064|0                           |1
        is obsolete|                            |

--- Comment #3 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 19072
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19072&action=edit
Bug 10480: New cataloging plugin style without redefining

This reports adds the way we handle cataloging plugins.
Currently, three functions are redefined: plugin_parameters, plugin_javascript
and plugin. In this new proposal, communication between addbiblio and the
plugin goes via a global variable. The plugin script detects that way if we are
building the plugin or executing it.

A example plugin is added just to illustrate the concept.
Plugin marc21_leader.pl is adjusted to the new style (plus some cosmetic
changes: removing tabs etc.)

Test plan:
Run the MARC editor and test your current plugins.
If you use marc21_leader, test it again.
Temporarily connect new_example_plugin to some field and test that.
Check the log for warnings about redefines.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list