-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem to register new tool in "portal_controlpanel" and active news addons need to register icons in site setup #1959
Comments
Partially confirmed.
|
In add-ons: 1 - CMFPlacefulWorkflow => Activate |
4 - CMFPlacefulWorkflow => Deactivate again => KeyError: 'portal_placeful_workflow' |
Huh, that is odd. I can confirm it. So:
There seems to be something wrong in the install or uninstall code of |
Workaround:
|
Deactivating and then activating the add-on led to a missing tool and control panel icon. Another deactivation would then fail. Solution is to mark our base profile as uninstalled in the uninstall method. This requires `Products.GenericSetup` 1.8.1 or higher. Fixes plone/Products.CMFPlone#1959.
Branch: refs/heads/1.5.x Date: 2017-03-08T11:49:36+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.CMFPlacefulWorkflow@28d8ad7 Fixed reinstall. Deactivating and then activating the add-on led to a missing tool and control panel icon. Another deactivation would then fail. Solution is to mark our base profile as uninstalled in the uninstall method. This requires `Products.GenericSetup` 1.8.1 or higher. Fixes plone/Products.CMFPlone#1959. Files changed: M CHANGES.rst M Products/CMFPlacefulWorkflow/Extensions/Install.py M Products/CMFPlacefulWorkflow/tests/testCMFPlacefulWorkflow.py M setup.py Repository: Products.CMFPlacefulWorkflow Branch: refs/heads/1.5.x Date: 2017-03-08T13:18:40+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/Products.CMFPlacefulWorkflow@fa86345 Merge pull request #15 from plone/uninstall-base-15x Fixed reinstall. [1.5.x] Files changed: M CHANGES.rst M Products/CMFPlacefulWorkflow/Extensions/Install.py M Products/CMFPlacefulWorkflow/tests/testCMFPlacefulWorkflow.py M setup.py
Deactivating and then activating the add-on led to a missing tool and control panel icon. Another deactivation would then fail. Solution is to mark our base profile as uninstalled in the uninstall method. This requires `Products.GenericSetup` 1.8.1 or higher. Fixes plone/Products.CMFPlone#1959.
And test that multiple installs and uninstalls work. This actually worked already on Plone 5.1, but we now test it explicitly. See plone/Products.CMFPlone#1959.
Branch: refs/heads/1.6.x Date: 2017-03-08T15:50:17+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.CMFPlacefulWorkflow@d45c786 Fixed reinstall. Deactivating and then activating the add-on led to a missing tool and control panel icon. Another deactivation would then fail. Solution is to mark our base profile as uninstalled in the uninstall method. This requires `Products.GenericSetup` 1.8.1 or higher. Fixes plone/Products.CMFPlone#1959. Files changed: M CHANGES.rst M Products/CMFPlacefulWorkflow/Extensions/Install.py M Products/CMFPlacefulWorkflow/tests/testCMFPlacefulWorkflow.py M setup.py Repository: Products.CMFPlacefulWorkflow Branch: refs/heads/1.6.x Date: 2017-03-08T18:42:14+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.CMFPlacefulWorkflow@04a8f84 Merge pull request #16 from plone/uninstall-base-16x Fixed reinstall. [1.6.x] Files changed: M CHANGES.rst M Products/CMFPlacefulWorkflow/Extensions/Install.py M Products/CMFPlacefulWorkflow/tests/testCMFPlacefulWorkflow.py M setup.py
Branch: refs/heads/master Date: 2017-03-08T16:17:05+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.CMFPlacefulWorkflow@6102dcf Removed Plone 5.0 installer code from tests. And test that multiple installs and uninstalls work. This actually worked already on Plone 5.1, but we now test it explicitly. See plone/Products.CMFPlone#1959. Files changed: M CHANGES.rst M Products/CMFPlacefulWorkflow/tests/testCMFPlacefulWorkflow.py Repository: Products.CMFPlacefulWorkflow Branch: refs/heads/master Date: 2017-03-09T06:15:23+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.CMFPlacefulWorkflow@b82531a Merge pull request #17 from plone/remove-plone50-test-code-master Removed Plone 5.0 installer code from tests. Files changed: M CHANGES.rst M Products/CMFPlacefulWorkflow/tests/testCMFPlacefulWorkflow.py
Checked in 5.2 and 6.0. |
BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)
What I did:
1 - Site Setup => Add-ons => check "Workflow Policy Support (CMFPlacefulWorkflow)" and clink in button Activate.
2 - ZMI => portal_controlpanel => register new tool
3 - Acess url: http://localhost:8080/Plone/portal_controlpanel/addAction
What I expect to happen:
1 - Install add-on and show icon in Site Setup
2 - Register new tool in Site Seup
3 - BadRequest: ... The parameter, id, was omitted from the request. ...
What actually happened:
1 - Install add-on but not register icon in Site Setup not possibility configure Workflow Policy.
2 - Show page 404 "This page does not seem to exist… " .
3 - Show page 4040 "This page does not seem to exist…"
What version of Plone/ Addons I am using:
Plone 4.3.11 / Plone Default / Unified Installer
01 -
![01](https://cloud.githubusercontent.com/assets/1719539/23657865/ec37291c-031e-11e7-9d04-4952f6a93de1.png)
02 -
![02](https://cloud.githubusercontent.com/assets/1719539/23657871/f7ca7054-031e-11e7-8967-4114f131de37.png)
03 -
![03](https://cloud.githubusercontent.com/assets/1719539/23657881/ff3c91aa-031e-11e7-843e-5f45d4c03832.png)
The text was updated successfully, but these errors were encountered: