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

M. de Rooy <[email protected]> changed:

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

--- Comment #6 from M. de Rooy <[email protected]> ---
Created attachment 19154
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19154&action=edit
Bug 10480: New cataloging plugin style without redefining

This reports changes 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.

Signed-off-by: Nuno Lopez Ansotegui <[email protected]>

Still amended this patch:
arrayref $building_plugins => hashref $building_plugin
hash entry names: tabno and subfieldid are slightly better
slightly adjusted test on passed hash values
Signed-off-by: Marcel de Rooy <[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