You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2008/08/18 16:13:45 UTC

[jira] Resolved: (FTPSERVER-163) Ftplet.init() not called correctly

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

Niklas Gustavsson resolved FTPSERVER-163.
-----------------------------------------

    Resolution: Fixed

I've added a fix for this, please verify

svn commit "/media/big/home/svn/apache/ftpserver-trunk/core" -m "Fixed bug where Ftplet.init() would not be called correctly. Added test to make sure both init and destroy are sent to the Ftplets (FTPSERVER-163)" --username "ngn"
	M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/ftplet/DefaultFtpletContainer.java
	M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/ftplet/FtpletContainer.java
	M /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/FtpServer.java
	M /media/big/home/svn/apache/ftpserver-trunk/core/src/test/java/org/apache/ftpserver/ftplet/FtpLetContainerTestTemplate.java
	M /media/big/home/svn/apache/ftpserver-trunk/core/src/test/java/org/apache/ftpserver/ftplet/MockFtplet.java
	  Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/FtpServer.java
	  Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/ftplet/DefaultFtpletContainer.java
	  Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/ftplet/FtpletContainer.java
	  Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/test/java/org/apache/ftpserver/ftplet/FtpLetContainerTestTemplate.java
	  Transmitting file data: /media/big/home/svn/apache/ftpserver-trunk/core/src/test/java/org/apache/ftpserver/ftplet/MockFtplet.java
Committed revision 686767

> Ftplet.init() not called correctly
> ----------------------------------
>
>                 Key: FTPSERVER-163
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-163
>             Project: FtpServer
>          Issue Type: Bug
>    Affects Versions: 1.0-M2
>            Reporter: Niklas Gustavsson
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0-M3
>
>
> From David Latorre
> Regarding current FTPLet behaviour, it seems that the "init(FtpletContext
> context)" method is not getting called anymore in M2 (or at least latest SVN
> version). Is this the expected behaviour? If it is, is there any other way
> to access FtpletContext ? My onLogin() method  was calling
> "DbUserManager.save()" to save the login time for the user, if I cannot do
> this anymore do you have any suggestions?

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