Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-6703

Author field does nothing when trying to filter a SCMSource repo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • N/A
    • 3.3.0
    • None

    Description

      The functionality of filtering by author/committer does not work when applying it to a SCMSource based repo.

      The causes are:

      • SCMSource repos do not use Lucene so have no explicit committer mappings
      • SCMSource always returns empty lists for the findAuthors() method so you cannot retrieve authors for the repo
      • CommitterUserMappingManagerImpl.getImplicitCommittersForUserInRep() requires the repos it searches to accessible via RepositoryHandler objects (which the repositoryManager can return) but SCMSource repos cannot be accessed that way

      Perhaps a simple solution would be to disable the Author field in the changeset filtering panel (insertConstraintsForm.tag) if the repo selected is a SCMSource type.

      Attachments

        Activity

          People

            Unassigned Unassigned
            llovelock Levi Lovelock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: