Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-165

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-M2, 1.0.0-M3
    • 1.0.0-M2, 1.0.0-M3
    • None
    • None

    Description

      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.

      Attachments

        1. createHomePatch.patch
          0.6 kB
          David Latorre
        2. config-spring-xml.patch
          0.5 kB
          David Latorre

        Activity

          People

            niklas Niklas Therning
            dlatorre David Latorre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified