[Koha-bugs] [Bug 23300] New: Plugins display as permanently "DISABLED"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 11 14:03:36 CEST 2019


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

            Bug ID: 23300
           Summary: Plugins display as permanently "DISABLED"
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew.isherwood at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

All plugins are currently displaying as "DISABLED".

This appears to be due to the use of the condition:

[% IF ( plugin.enabled ) %]

in plugins-home.tt, which was added in Bug 22053 and presumably worked then. As
far as I can see, there is no property or method on the plugin object called
"enabled", hence it always failing.

Recently an "is_enabled" method was added to the plugin object in Bug 21073,
I'm guessing this is what the template should be using.

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


More information about the Koha-bugs mailing list