Archiva

Deleted metadata files still appear in search results

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1
  • Component/s: indexing
  • Labels:
    None
  • Number of attachments :
    0

Description

When an entire directory tree of artifacts is removed from the repository filesystem, the metadata files still show up in search results.

To reproduce, delete any group from the repository, then click both 'Scan Repository Now' and 'Update Database Now'.

Search for the artifact again, and note that the metadata files still appear in the results.

For example, after deleting /path/to/repository/releases/commons-lang and scanning/updating, this is in the search results for commons-lang:

http://example.com/archiva/repository/releases/commons-lang/commons-lang/maven-metadata.xml

Activity

Hide
Maria Odea Ching added a comment -

Fix in MRM-737 also fixes this problem.

Show
Maria Odea Ching added a comment - Fix in MRM-737 also fixes this problem.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: