Closed claytonc closed 2 years ago
Partially confirmed.
When I install CMFPlacefulWorkflow in coredev 4.3, the control panel icon is added just fine. It points to http://localhost:8080/Plone/prefs_workflow_localpolicies_form. Is that page loading fine for you?
Adding via the ZMI does fail for me. And I see that I was the one who broke it, by removing a docstring... Sorry! I thought the addAction
method did not need to be accessible directly via a url, but I was wrong. I will fix it.
@mauritsvanrees
In add-ons:
1 - CMFPlacefulWorkflow => Activate 2 - CMFPlacefulWorkflow => Deactivate 3 - CMFPlacefulWorkflow => Activate again, the icon not is added in control panel.
4 - CMFPlacefulWorkflow => Deactivate again => KeyError: 'portal_placeful_workflow'
Huh, that is odd. I can confirm it. So:
CMFPlacefulWorkflow
all is fine.portal_placeful_workflow
tool is missing.There seems to be something wrong in the install or uninstall code of CMFPlacefulWorkflow
. Or both.
Workaround:
portal_setup
in the ZMI, and then the Import tab.profile-Products.CMFPlacefulWorkflow:CMFPlacefulWorkflow
).base
dependency profile gets applied first.Checked in 5.2 and 6.0. I cannot reproduce the CMFPlacefulWorkflow problem, so that was fixed. I can reproduce the problem that adding a control panel action in the ZMI does not work. My fix for that must have not made it to all branches. I have made PRs for 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 -
02 -
03 -