table name prefix for application possibly different in package_installer and package_remover
When installing the datamanger belonging tot the application is used and consequently the prefix method from this datamanager. However when the application is removed, the AdminDatabaseDataManager is used, and to supply the table prefix the name of the application is used. (admin/php/lib/package_remover/type/application.class.php : line 287)
these values can be different and create an error when removing the app.
Both prefixes (when installing and removing) should be derived from the same source, preferably the prefix property from the applications datamanager. This should be made static. Otherwise the applications data manager should be used in the package remover as well. I don't know if this is possible.
Updated by Stefaan Vanbillemont about 11 years ago
- Status changed from New to Needs more info
- Assignee set to Hans De Bisschop
- Target version changed from Backlog (default) to LCMS 3
Can you check is still remarks are still valid? You did a massive job reworking the installers ..
Updated by Hans De Bisschop about 11 years ago
- Status changed from Needs more info to Assigned
- Target version changed from LCMS 3 to Backlog (default)
Packages currently can't really be removed, so irrelevant for now. Should be taken into account when the remover is reimplemented.