collective / collective/example.p4p5

Uninstall leaves base profile cruft, may cause issue with re-install...

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Description

See:

https://community.plone.org/t/add-on-uninstall-profiles-and-dependent-profiles-reinstallation-failure/3539

How I fixed this in my own add-on:

https://github.com/upiq/collective.talkflow/commit/fe6df57b0bd758a2287656938ffb67772bea01cb

After using a handler to remove the 'install-base' profile key/value from portal_setup._profile_upgrade_versions -- repeated install/uninstall/reinstall works. Without this, I was having issues with steps from base profile getting skipped on re-installation.

Maybe this is really a Products.GenericSetup bug, but I think it makes sense to document a workaround, at least for folks modelling their install profiles around the pattern that example.p4p5 advocates?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.