[Koha-bugs] [Bug 22084] New: Plugin upgrade method and database plugin version storage will never be triggered for existing installs
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 8 19:10:38 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22084
Bug ID: 22084
Summary: Plugin upgrade method and database plugin version
storage will never be triggered for existing installs
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: kyle at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
If an existing plugin begins using the upgrade() method, it will never actually
get triggered because the installation has already occurred and no database
plugin version was stored at the time. Without that database version, the
upgrade method will never be triggered.
In addition, if the plugin has no upgrade method, the installed version is
never updated in the database!
Lastly, when an upgrade succeeds it prints a warning that the upgrade failed.
--
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