[MGNLWORKFLOW-166] Remove configuration for old workflow commands Created: 21/Oct/13  Updated: 22/Oct/13  Resolved: 21/Oct/13

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

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: 4.5_to_5_migration
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:

 Description   
2013-10-17 14:37:13,739 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/adminInterface/commands/website/activate/startFlow                --> WORKFLOW

java.lang.ClassNotFoundException: info.magnolia.module.workflow.commands.ActivationFlowCommand

 

2013-10-17 14:37:13,746 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/adminInterface/commands/website/activate/alert                    

java.lang.ClassNotFoundException: info.magnolia.module.admininterface.commands.MessageCommand

 

2013-10-17 14:37:13,750 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/adminInterface/commands/website/deactivate/version              

java.lang.ClassNotFoundException: info.magnolia.module.admininterface.commands.VersionCommand

 

2013-10-17 14:37:13,754 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/adminInterface/commands/website/deactivate/startFlow           
java.lang.ClassNotFoundException: info.magnolia.module.workflow.commands.ActivationFlowCommand

 

2013-10-17 14:37:13,758 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/adminInterface/commands/website/deactivate/alert               
java.lang.ClassNotFoundException: info.magnolia.module.admininterface.commands.MessageCommand

 

2013-10-17 14:37:13,786 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/data/commands/data/activate/version                                

java.lang.ClassNotFoundException: info.magnolia.module.admininterface.commands.VersionCommand

 

2013-10-17 14:37:13,795 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/data/commands/data/activate/startFlow                            

java.lang.ClassNotFoundException: info.magnolia.module.workflow.commands.ActivationFlowCommand

 

2013-10-17 14:37:13,798 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/data/commands/data/activate/alert                                

java.lang.ClassNotFoundException: info.magnolia.module.admininterface.commands.MessageCommand

 

2013-10-17 14:37:13,806 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/data/commands/data/deactivate/startFlow                           

java.lang.ClassNotFoundException: info.magnolia.module.workflow.commands.ActivationFlowCommand

 

2013-10-17 14:37:13,812 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: can't resolve class for node /modules/data/commands/data/deactivate/alert                               

java.lang.ClassNotFoundException: info.magnolia.module.admininterface.commands.MessageCommand


 Comments   
Comment by Roman Kovařík [ 21/Oct/13 ]

Incorrect descriptions of tasks.

Comment by Eric Hechinger [ 21/Oct/13 ]

You could replace (yep newly created...):

+ .addTask(new ArrayDelegateTask("Remove commands from old adminInterface",
+ new RemoveNodeTask("Remove old command", "Remove 'activate/startFlow' command", RepositoryConstants.CONFIG, "/modules/adminInterface/commands/website/activate/startFlow"),
+ new RemoveNodeTask("Remove old command", "Remove 'deactivate/alert' command", RepositoryConstants.CONFIG, "/modules/adminInterface/commands/website/activate/alert"),

by a .addTask(new RemoveNodesTask("Remove commands from old adminInterface","", RepositoryConstants.CONFIG, Arrays.asList("/modules/adminInterface/commands/website/activate/startFlow","/modules/adminInterface/commands/website/activate/alert",....

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