Bug 44400

Summary: MultiWorkflow.initParameters() logs exception for docs without workflow
Product: Lenya Reporter: Andreas Hartmann <andreas>
Component: WorkflowAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: Trunk   
Target Milestone: 2.0.1   
Hardware: Other   
OS: other   

Description Andreas Hartmann 2008-02-12 13:02:00 UTC
Caused by: org.apache.lenya.workflow.WorkflowException: The document
[docu:authoring:6571d090-8730-11dc-ae46-9e7b5d14892d:en] has no workflow!
        at
org.apache.lenya.cms.workflow.WorkflowUtil.getWorkflowSchema(WorkflowUtil.java:238)
        at
org.apache.lenya.cms.workflow.usecases.WorkflowableWrapper.getWorkflowSchema(WorkflowableWrapper.java:96)
        at
org.apache.lenya.cms.workflow.usecases.WorkflowableWrapper.getStates(WorkflowableWrapper.java:92)
        at
org.apache.lenya.cms.workflow.usecases.MultiWorkflow.initParameters(MultiWorkflow.java:61)