Archiva

After removing a managed repository - Browse/Search still see it

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-alpha-1
  • Fix Version/s: 1.0-beta-3
  • Component/s: Web Interface
  • Labels:
    None
  • Number of attachments :
    0

Description

I had a repository with lots of stuff in. I removed that (but didn't delete contents), then I added a tiny repository with a couple of jars in. When I goto browse and search, I still see the original, now removed, repository.

Re-indexing didn't help [JIRA uses indexes for lists a lot, so I figured this might be the case here too].

Issue Links

Activity

Hide
Wendy Smoak added a comment -

Possibly related, changes made to a pom in a managed repository don't seem to show up in Archiva, even after re-indexing.

See: http://www.nabble.com/Archiva-and-invalid-poms-t3017517s177.html

Show
Wendy Smoak added a comment - Possibly related, changes made to a pom in a managed repository don't seem to show up in Archiva, even after re-indexing. See: http://www.nabble.com/Archiva-and-invalid-poms-t3017517s177.html
Hide
Joakim Erdfelt added a comment -

MRM-37 - The Database Scan tasks should pick up the removed artifacts, and/or repository configuration and remove the entries from the database and lucene indexes.

Show
Joakim Erdfelt added a comment - MRM-37 - The Database Scan tasks should pick up the removed artifacts, and/or repository configuration and remove the entries from the database and lucene indexes.
Hide
Maria Odea Ching added a comment -

Fixed in -r586919

  • added method for deleting the artifacts in the db when a repo is deleted
  • also deleted repo scan statistics when the repo is deleted
  • created DAO that does retrieving, deleting and adding of RepositoryContentStatistics to the db
  • added and updated tests
Show
Maria Odea Ching added a comment - Fixed in -r586919
  • added method for deleting the artifacts in the db when a repo is deleted
  • also deleted repo scan statistics when the repo is deleted
  • created DAO that does retrieving, deleting and adding of RepositoryContentStatistics to the db
  • added and updated tests

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: