myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (EXTCDI-220) @PreDestroy not called when closing sub-groups
Date Tue, 30 Aug 2011 18:47:47 GMT

    [ https://issues.apache.org/jira/browse/EXTCDI-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093996#comment-13093996
] 

Mark Struberg commented on EXTCDI-220:
--------------------------------------

Imo the last commit should get rollbacked. Removal from teh BeanStorage doesn't automatically
mean the object wont be used anymore.
A use case: bean history to get rid of the browser back button problem. The Contextual#destroy
must only be called if the instance get dropped from the history. But the BeanStorage has
not sufficient knowledge about this!

> @PreDestroy not called when closing sub-groups
> ----------------------------------------------
>
>                 Key: EXTCDI-220
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-220
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 1.0.2
>
>
> currently we don't invoke Contextual#destroy() while removing sub-groups. grouped conversations
aren't affected - only subgroups.

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

        

Mime
View raw message