https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25967
Bug ID: 25967
Summary: Plugin upgrade should remove existing code before
installing new code
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Plugin architecture
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
At the moment, upgrading a plugin really means overwriting the existing plugin
files with new files.
This is fine for files that are added or modified, but it won't remove files
that have been deleted.
Of course, we don't necessarily know what files to delete when we're upgrading
a plugin, because we don't track the files, and the files can be a bit messy.
For instance, "/var/lib/koha/kohadev/plugins/Koha/Plugin/Com/ByWaterSolutions"
is the root for both KitchenSink and CoverFlow.
This is probably an infeasible idea due to existing installs, but just pointing
out the flaw in the plugin architecture.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/