[MGNLWORKFLOW-203] Enable workflow for DAM not possible Created: 29/Jan/14 Updated: 17/Mar/14 Resolved: 17/Mar/14 |
|
| Status: | Closed |
| Project: | Magnolia Workflow Module |
| Component/s: | None |
| Affects Version/s: | 5.2.1 |
| Fix Version/s: | 5.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Frank Sommer | Assignee: | Espen Jervidalo |
| Resolution: | Outdated | Votes: | 0 |
| Labels: | support | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Visible to: |
Rainer Blumenthal
|
||||||||||||||||||||
| Description |
|
I follow the instructions on http://documentation.magnolia-cms.com/display/DOCS/Configuring+workflow+in+apps. But the instructions are incomplete. No dialog for the comment input is shown and the alert message is wrong. So I tried to configure the dam app in the same way like the pages app (see dam-activate.png). But after that an exception occure with following stack trace. 14-01-29 14:47:55 ERROR AUTHOR[http-bio-8001-exec-9]info.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [activate] info.magnolia.ui.api.action.ActionExecutionException: Could not instantiate action class for action: activate at info.magnolia.ui.api.action.AbstractActionExecutor.createAction(AbstractActionExecutor.java:104) at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:73) at info.magnolia.ui.contentapp.browser.BrowserPresenter.executeAction(BrowserPresenter.java:391) at info.magnolia.ui.contentapp.browser.BrowserPresenter.onActionBarSelection(BrowserPresenter.java:336) at info.magnolia.ui.contentapp.browser.BrowserViewImpl$1.contextMenuItemClicked(BrowserViewImpl.java:126) ... Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Unable to resolve parameters for constructor public info.magnolia.module.workflow.action.WorkflowPublicationAction(info.magnolia.module.workflow.action.WorkflowPublicationActionDefinition,info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter,java.util.Map,info.magnolia.commands.CommandsManager,info.magnolia.event.EventBus,info.magnolia.ui.api.app.SubAppContext,info.magnolia.i18nsystem.SimpleTranslator) at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:79) at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:122) at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstance(GuiceComponentProvider.java:108) at info.magnolia.ui.api.action.AbstractActionExecutor.createAction(AbstractActionExecutor.java:102) ... 113 more |
| Comments |
| Comment by Frank Sommer [ 29/Jan/14 ] |
|
I configure the startPublication action like in the pages app and now the dialog is shown. But still the wrong confirmation message. The whole reconfiguration of the apps is quite a lot, if you want to do this for all actions and a couple of apps. A task for ModuleVersionHandler would be helpful. Please update the documentation. See |
| Comment by Espen Jervidalo [ 17/Mar/14 ] |
|
The configuration has been simplified and the steps needed are documented in http://documentation.magnolia-cms.com/display/DOCS/Enable+Workflow+in+Content+Apps Changes to configuration are committed to linked ticket |