Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.13
-
3.13
-
Description
Steps to reproduce:
- Create a new workflow with an ampersand in its name e.g. "Testing&Workflow"
- Assign the workflow so that it becomes an active workflow
- Attempt to create a draft of that workflow
The following error comes back to the user via the browser:
HTTP Status 404 - Could not execute action [ViewWorkflowSteps]:Action 'com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps' could not be instantiated <p><small><small><pre>java.lang.IllegalArgumentException: Action 'com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps' could not be instantiated at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:69) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:111) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178) ...
And the following errors appear in the logs:
2008-11-25 12:20:15,948 http-8090-Processor3 ERROR [atlassian.jira.workflow.OSWorkflowManager] Could not get workflow called: Testing: com.opensymphony.workflow.FactoryException: Unknown workflow name com.opensymphony.workflow.FactoryException: Unknown workflow name at com.opensymphony.workflow.config.DefaultConfiguration.getWorkflow(DefaultConfiguration.java:86) at com.atlassian.jira.workflow.OSWorkflowManager.getWorkflow(OSWorkflowManager.java:168) at com.atlassian.jira.workflow.OSWorkflowManager.getDraftWorkflow(OSWorkflowManager.java:214) at com.atlassian.jira.web.util.component.RequestComponentManager.getWorkflow(RequestComponentManager.java:185) at com.atlassian.jira.web.util.component.RequestComponentManager.injectWorkflow(RequestComponentManager.java:93) at com.atlassian.jira.web.util.component.RequestComponentManager.getContainer(RequestComponentManager.java:52) at com.atlassian.jira.web.util.component.PicoWebworkObjectCreator.instantiate(PicoWebworkObjectCreator.java:32) at webwork.util.injection.ObjectFactory.instantiate(ObjectFactory.java:47) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:65) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:111) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178) ... 2008-11-25 12:20:15,949 http-8090-Processor3 ERROR [web.util.component.RequestComponentManager] java.lang.IllegalArgumentException: Draft workflow could not be retrieved, since the parent workflow with name 'Testing' does not exist. java.lang.IllegalArgumentException: Draft workflow could not be retrieved, since the parent workflow with name 'Testing' does not exist. at com.atlassian.jira.workflow.OSWorkflowManager.getDraftWorkflow(OSWorkflowManager.java:217) at com.atlassian.jira.web.util.component.RequestComponentManager.getWorkflow(RequestComponentManager.java:185) at com.atlassian.jira.web.util.component.RequestComponentManager.injectWorkflow(RequestComponentManager.java:93) at com.atlassian.jira.web.util.component.RequestComponentManager.getContainer(RequestComponentManager.java:52) at com.atlassian.jira.web.util.component.PicoWebworkObjectCreator.instantiate(PicoWebworkObjectCreator.java:32) at webwork.util.injection.ObjectFactory.instantiate(ObjectFactory.java:47) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:65) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:111) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178) ... 2008-11-25 12:20:15,950 http-8090-Processor3 ERROR [webwork] Error instantiating 'com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps': com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.workflow.JiraWorkflow, interface com.atlassian.jira.config.ConstantsManager, interface com.atlassian.jira.bc.workflow.WorkflowService]] org.picocontainer.defaults.UnsatisfiableDependenciesException: com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps doesn't have any satisfiable constructors. Unsatisfiable dependencies: [[interface com.atlassian.jira.workflow.JiraWorkflow, interface com.atlassian.jira.config.ConstantsManager, interface com.atlassian.jira.bc.workflow.WorkflowService]] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:27) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298) at com.atlassian.jira.web.util.component.PicoWebworkObjectCreator.instantiate(PicoWebworkObjectCreator.java:39) at webwork.util.injection.ObjectFactory.instantiate(ObjectFactory.java:47) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:65) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:111) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178) ... 2008-11-25 12:20:15,953 http-8090-Processor3 [webwork.dispatcher.ServletDispatcher] Could not execute action java.lang.IllegalArgumentException: Action 'com.atlassian.jira.web.action.admin.workflow.ViewWorkflowSteps' could not be instantiated at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:69) at webwork.action.factory.ScriptActionFactoryProxy.getActionImpl(ScriptActionFactoryProxy.java:54) at webwork.action.factory.XMLActionFactoryProxy.getActionImpl(XMLActionFactoryProxy.java:54) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:111) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:53) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.AliasingActionFactoryProxy.getActionImpl(AliasingActionFactoryProxy.java:96) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:62) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:46) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:178) ...
Note that a draft still appears to be created (you can see it if you go back to the View Workflows screen).