You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org> on 2007/08/11 10:27:44 UTC

[jira] Resolved: (ORCHESTRA-2) NPE during startup with spring 2.0.6 with orchestra:name configured

     [ https://issues.apache.org/jira/browse/ORCHESTRA-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Ivankovits resolved ORCHESTRA-2.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-SNAPSHOT

thanks for the patch!

> 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
>            Priority: Blocker
>             Fix For: 1.0-SNAPSHOT
>
>
> 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.