Bug 39522 - Add hooks to allow 'Valuebuilder' plugins to be installable
Summary: Add hooks to allow 'Valuebuilder' plugins to be installable
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Jacob O'Mara
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-02 09:35 UTC by Jacob O'Mara
Modified: 2025-04-02 13:07 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39522: Allow Valuebuilders to be installable as plugins (6.40 KB, patch)
2025-04-02 10:12 UTC, Jacob O'Mara
Details | Diff | Splinter Review
Bug 39522: Add filtering to the plugin home page for valuebuilders (1.88 KB, patch)
2025-04-02 10:12 UTC, Jacob O'Mara
Details | Diff | Splinter Review
Mark Hofstetter will be following up with unit tests as we worked on this together. (6.45 KB, patch)
2025-04-02 11:46 UTC, Jacob O'Mara
Details | Diff | Splinter Review
Bug 39522: Add filtering to the plugin home page for valuebuilders (1.93 KB, patch)
2025-04-02 11:46 UTC, Jacob O'Mara
Details | Diff | Splinter Review
Mark Hofstetter will be following up with unit tests as we worked on this together. (6.45 KB, patch)
2025-04-02 13:07 UTC, Jacob O'Mara
Details | Diff | Splinter Review
Bug 39522: Add filtering to the plugin home page for valuebuilders (1.94 KB, patch)
2025-04-02 13:07 UTC, Jacob O'Mara
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob O'Mara 2025-04-02 09:35:54 UTC
We should allow the cataloguing or 'valuebuilder' plugins to be installable with the standard plugin architecture.
Comment 1 Jacob O'Mara 2025-04-02 10:12:24 UTC
Created attachment 180283 [details] [review]
Bug 39522: Allow Valuebuilders to be installable as plugins

Unit tests to follow

Test plan:

1. Install the example plugin from https://github.com/Jacobomara901/koha-plugin-value-builder and enable it
2. See that the framework plugin ‘custom_date’ as available to add to a subfield while the installed plugin is enabled and disappears when it is not.
3. Assign custom_date to your preferred Marc subfield (I use 650 subfield 2 ) and navigate to that field on a record of your choice
4. Ensure you are on the correct bib framework. See that the value builder appears while the plugin is enabled and disappears from that field while disabled.
5. Check uninstalling the plugin works correctly
Comment 2 Jacob O'Mara 2025-04-02 10:12:27 UTC
Created attachment 180284 [details] [review]
Bug 39522: Add filtering to the plugin home page for valuebuilders
Comment 3 Jacob O'Mara 2025-04-02 11:46:41 UTC
Created attachment 180301 [details] [review]
Mark Hofstetter will be following up with unit tests as we worked on this together.

Test plan:

1. Install the example plugin from https://github.com/Jacobomara901/koha-plugin-value-builder and enable it
2. See that the framework plugin ‘custom_date’ is available to add to a subfield while the installed plugin is enabled and disappears when it is not.
3. Assign custom_date to your preferred Marc subfield (I use 650 subfield 2 ) and navigate to that field on a record of your choice
4. Ensure you are on the correct bib framework. See that the value builder appears while the plugin is enabled and disappears from that field while disabled.
5. Check uninstalling the plugin works correctly




Bug 39522: Allow Valuebuilders to be installable as plugins

Co-authored-by: Mark Hofstetter <koha@trust-box.at>
Comment 4 Jacob O'Mara 2025-04-02 11:46:44 UTC
Created attachment 180302 [details] [review]
Bug 39522: Add filtering to the plugin home page for valuebuilders

Co-authored-by: Mark Hofstetter <koha@trust-box.at>
Comment 5 Jacob O'Mara 2025-04-02 13:07:26 UTC
Created attachment 180337 [details] [review]
Mark Hofstetter will be following up with unit tests as we worked on this together.

Test plan:

1. Install the example plugin from https://github.com/Jacobomara901/koha-plugin-value-builder and enable it
2. See that the framework plugin ‘custom_date’ is available to add to a subfield while the installed plugin is enabled and disappears when it is not.
3. Assign custom_date to your preferred Marc subfield (I use 650 subfield 2 ) and navigate to that field on a record of your choice
4. Ensure you are on the correct bib framework. See that the value builder appears while the plugin is enabled and disappears from that field while disabled.
5. Check uninstalling the plugin works correctly

Bug 39522: Allow Valuebuilders to be installable as plugins

Co-authored-by: Mark Hofstetter <mark@hofstetter.at>
Comment 6 Jacob O'Mara 2025-04-02 13:07:28 UTC
Created attachment 180338 [details] [review]
Bug 39522: Add filtering to the plugin home page for valuebuilders

Co-authored-by: Mark Hofstetter <mark@hofstetter.at>