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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M2, 1.0.0-M3
    • Fix Version/s: 1.0.0-M2, 1.0.0-M3
    • Component/s: None
    • Labels:
      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

            • Assignee:
              niklas Niklas Gustavsson
              Reporter:
              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