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

RepositoryService Doesn't Handle Overloaded Setters on RepositorySources

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bcarothers Brian Carothers
                Reporter:
                bcarothers Brian Carothers
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: