Uploaded image for project: 'Magnolia Workflow Module'
  1. Magnolia Workflow Module
  2. MGNLWORKFLOW-203

Enable workflow for DAM not possible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Outdated
    • Icon: Critical Critical
    • 5.3
    • 5.2.1
    • None

      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
      

        Acceptance criteria

              ejervidalo Espen Jervidalo
              frank.sommer Frank Sommer
              Rainer Blumenthal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD