FileSystemBeanDefinitionParser tries to set the property "create-home" instead 
of createHome.
---------------------------------------------------------------------------------------------

                 Key: FTPSERVER-165
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-165
             Project: FtpServer
          Issue Type: Bug
    Affects Versions: 1.0-M2, 1.0-M3
            Reporter: David Latorre
             Fix For: 1.0-M3, 1.0-M2


Current code is : 
 builder.addPropertyValue("create-home", Boolean
                    .parseBoolean(element.getAttribute("create-home")));

but it should be:
            builder.addPropertyValue("createHome", Boolean
                    .parseBoolean(element.getAttribute("create-home"))); 


Besides, the  xml file used in the tests has no create-home property so the bug 
remained unnoticed in the tests. 

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

Reply via email to