NPE during startup with spring 2.0.6 with orchestra:name configured
-------------------------------------------------------------------

                 Key: ORCHESTRA-2
                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-2
             Project: MyFaces Orchestra
          Issue Type: Bug
          Components: Conversation
         Environment: xp, jsf 1.2 ri
            Reporter: Dan Tran


spring 2.0.6 has some fixed that trigger orchestra to fail at startup.

Here is the required change

Index: 
core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java
===================================================================
--- 
core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java
        (revision 562307)
+++ 
core/src/main/java/org/apache/myfaces/orchestra/conversation/spring/BeanDefinitionConversationNameAttrDecorator.java
        (working copy)
@@ -39,6 +39,6 @@
                        
definition.getBeanDefinition().setAttribute(CONVERSATION_NAME_ATTRIBUTE, 
conversationName);
                }
 
-               return null;
+               return definition;
        }
 }



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to