Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1168

RepositoryService Doesn't Handle Overloaded Setters on RepositorySources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.5.0.Final
    • None
    • Graph (2.x)
    • None

      The RepositoryService maps XML attributes from configuration files (or properties from programmatic configuration) by using reflection to determine the correct setter for the property on the corresponding RepositorySource (e.g., FileSystemSource) and invoking that setter.

      However, if the RepositorySource has overloaded that method (e.g., FileSystemSource#setFilenameFilter), the RepositoryService will only test one of the overloaded methods and, if the RepositoryService gets the wrong method, it will silently ignore the setting.

              bcarothers_jira Brian Carothers (Inactive)
              bcarothers_jira Brian Carothers (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: