Skip to content

IPM Globals Left Behind After Uninstalling #1057

@isc-egabhart

Description

@isc-egabhart

Was testing a change to how we load IPM in our internal apps and found after running zpm "uninstall ipm" that on reinstall the old version string lingered when running zpm "version". Specifically, I ran zpm "uninstall ipm" to remove IPM 0.10.4 in %SYS, confirmed IPM was not present in any Namespace, switched Namespaces, installed IPM 0.10.5 from downloading the module, then ran zpm "enable -map -globally" to apply mappings to all Namespaces. I expected this to result in 0.10.5 in all Namespaces but instead get:

zpm:CCR>version

%SYS> zpm 0.10.4
CCR> zpm 0.10.5
LOGIREPORT> zpm 0.10.5
Installed In: CCR
TESTCLIENT> zpm 0.10.5
Installed In: CCR
USER> zpm 0.10.5
Installed In: CCR

It seems the globals storing info about installed modules may not be cleared on uninstall.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions