You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ernesto Reinaldo Barreiro (Created) (JIRA)" <ji...@apache.org> on 2012/02/13 09:25:00 UTC

[jira] [Created] (WICKET-4406) ApplicationListenerCollection onBeforeDestroyed calls onAfterInitialized for each of the listeners

ApplicationListenerCollection onBeforeDestroyed calls onAfterInitialized for each of the listeners
--------------------------------------------------------------------------------------------------

                 Key: WICKET-4406
                 URL: https://issues.apache.org/jira/browse/WICKET-4406
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.4
         Environment: any
            Reporter: Ernesto Reinaldo Barreiro
            Priority: Trivial


On class 

public class ApplicationListenerCollection extends ListenerCollection<IApplicationListener>
	implements
		IApplicationListener
{

	....

	public void onBeforeDestroyed(final Application application)
	{
		reversedNotifyIgnoringExceptions(new INotifier<IApplicationListener>()
		{
			public void notify(IApplicationListener listener)
			{
				listener.****onAfterInitialized***(application);
			}
		});
	}

}

shouldn't it be 

public void onBeforeDestroyed(final Application application)
	{
		reversedNotifyIgnoringExceptions(new INotifier<IApplicationListener>()
		{
			public void notify(IApplicationListener listener)
			{
				listener.****onBeforeDestroyed***(application);
			}
		});
	}

?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4406) ApplicationListenerCollection onBeforeDestroyed calls onAfterInitialized for each of the listeners

Posted by "Sven Meier (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-4406.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
                   1.5.5
         Assignee: Sven Meier

Fixed.
                
> ApplicationListenerCollection onBeforeDestroyed calls onAfterInitialized for each of the listeners
> --------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4406
>                 URL: https://issues.apache.org/jira/browse/WICKET-4406
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>         Environment: any
>            Reporter: Ernesto Reinaldo Barreiro
>            Assignee: Sven Meier
>            Priority: Trivial
>             Fix For: 1.5.5, 6.0.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> On class 
> public class ApplicationListenerCollection extends ListenerCollection<IApplicationListener>
> 	implements
> 		IApplicationListener
> {
> 	....
> 	public void onBeforeDestroyed(final Application application)
> 	{
> 		reversedNotifyIgnoringExceptions(new INotifier<IApplicationListener>()
> 		{
> 			public void notify(IApplicationListener listener)
> 			{
> 				listener.****onAfterInitialized***(application);
> 			}
> 		});
> 	}
> }
> shouldn't it be 
> public void onBeforeDestroyed(final Application application)
> 	{
> 		reversedNotifyIgnoringExceptions(new INotifier<IApplicationListener>()
> 		{
> 			public void notify(IApplicationListener listener)
> 			{
> 				listener.****onBeforeDestroyed***(application);
> 			}
> 		});
> 	}
> ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira