[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-46) @End should probably not throw exceptions if a conversation could not be ended because it does not exist

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Sep 8 18:19:26 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFACES-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627377#comment-12627377 ] 

Brian Leathem commented on SEAMFACES-46:
----------------------------------------

Similarly, @Begin should not necessarily throw an exception if a Conversation is already long-running.

> @End should probably not throw exceptions if a conversation could not be ended because it does not exist
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-46
>                 URL: https://issues.jboss.org/browse/SEAMFACES-46
>             Project: Seam Faces
>          Issue Type: Feature Request
>          Components: Conversations
>    Affects Versions: 3.0.0.Alpha3
>            Reporter: Lincoln Baxter III
>             Fix For: 3.1.0.Tracking
>
>
> The @End annotation calls conversation.end() without first checking conversation.isTransient(). This results in exceptions when invoking the method on a transient conversation.
> This should either be a configuration option of the annotation, or should not occur:
> @End(ConversationPropagation.REQUIRED)
> @End(ConversationPropagation.OPTIONAL)
> Etc... something like that().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list