[Koha-bugs] [Bug 28932] New: Backend overriding status_graph element causes duplicate actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 31 15:32:43 CEST 2021


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

            Bug ID: 28932
           Summary: Backend overriding status_graph element causes
                    duplicate actions
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: ILL
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew.isherwood at ptfs-europe.com

Koha::Illrequest::_status_graph_union merges the core status graph and one
provided by a backend. Although not officially supported...

> Whilst it is not intended that this works, you can override entries in $origin
> with entries with the same key in $new_graph.

...a backend should be able to override a core method. This was necessary when
implementing the RapidILL backend. However, this revealed a bug in which any
next_actions and prev_actions declared in both would end up being duplicated,
leading to duplicate buttons in the toolbar.

-- 
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