[Koha-bugs] [Bug 29317] New: value_builder plugins do not result in launcher subroutine running

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 25 19:05:39 CEST 2021


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

            Bug ID: 29317
           Summary: value_builder plugins do not result in launcher
                    subroutine running
 Change sponsored?: ---
           Product: Koha
           Version: 21.05
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: courtenay.johnson at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

The plugins in the folder pass the two subroutines as a result, but the
plugin_launcher.pl seem to never call the sub loader that was returned as a
hashref. The sub builder is called as I expect. For instance in the EXAMPLE.pl
file I clone it and put in warning statements in the first line of the two
subroutines, the one in the builder sub shows up in the intranet log, but never
the same warning in the loader  subroutine. I see evidence that the builder is
doing what is expected as a pop up appears and changes in the builder show up
in the popup. I changed the default value string).

I have also tried cloning the marc21_leader.pl and it also has the same
behaviour, the builder sub is actually called, and the loader sub is not.

I am trying to debug a new plugin to generate accession numbers to suit the way
that our library uses accession numbers, and without the plugins working
correctly I can't get my plugin to work.

I have enabled the plugins in the koha_config.xml and this does not have any
impact on my issue. The global preference that is mentioned in some
documentation no longer seems to exist. I don't see anything else to enable. 

Currently, I am stuck and am unable to proceed.

Thanks

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


More information about the Koha-bugs mailing list