[MGNLWORKFLOW-150] Cannot publish from the page preview Created: 30/Sep/13  Updated: 01/Oct/13  Resolved: 30/Sep/13

Status: Closed
Project: Magnolia Workflow Module
Component/s: Base
Affects Version/s: 5.1
Fix Version/s: 5.1

Type: Bug Priority: Blocker
Reporter: Jozef Chocholacek Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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:
Sprint: 5.1 - Final

 Description   

Steps to repeat:

  1. open a page for editing
  2. change a text in any component
  3. click "Publish"

Results in

ERROR info.magnolia.pages.app.editor.PagesEditorSubApp  : 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)
...
Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Unable to resolve parameters for constructor public info.magnolia.ui.framework.action.ExtendableActivationAction(info.magnolia.ui.framework.action.ActivationActionDefinition,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.module.ModuleRegistry,info.magnolia.i18nsystem.SimpleTranslator)
	at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:74)
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:118)
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstance(GuiceComponentProvider.java:108)
	at info.magnolia.ui.api.action.AbstractActionExecutor.createAction(AbstractActionExecutor.java:102)
...


 Comments   
Comment by Philip Mundt [ 30/Sep/13 ]

This error was due to the fact that the publication actions were still referencing the non-workflow actions.

Generated at Mon Feb 12 10:07:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.