Archiva

Repository problem is kept in database even though its related artifact has been already removed

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1
  • Component/s: reporting
  • Labels:
    None
  • Environment:
    Linux Fedora Core 5 / Windows XP
    Java 5 Update 12
  • Number of attachments :
    2

Description

I've noticed the Show Report functionality always displays repository problems of artifacts that have been already removed. In my opinion, it should not since its associated artifact does not exist anymore.
No repository problem is ever purged causing the report to get bigger and bigger.

Activity

Hide
Dário Oliveros added a comment -

I've made some code changes and it seems the issue is fixed now.
Please have a look at the patch file and let me know your comments.

FYI one of the patch files (archiva-mrm-692-over-mrm-622.patch) includes patch information from another issue (MRM-622).

Show
Dário Oliveros added a comment - I've made some code changes and it seems the issue is fixed now. Please have a look at the patch file and let me know your comments. FYI one of the patch files (archiva-mrm-692-over-mrm-622.patch) includes patch information from another issue (MRM-622).
Hide
Dário Oliveros added a comment -

Please ignore the patch file named as archiva-mrm-692-over-mrm-622.patch. The other one should be enough.

Show
Dário Oliveros added a comment - Please ignore the patch file named as archiva-mrm-692-over-mrm-622.patch. The other one should be enough.
Hide
Maria Odea Ching added a comment -

Thanks for the patch Dario
Applied this in archiva-trunk -r628473.

Show
Maria Odea Ching added a comment - Thanks for the patch Dario Applied this in archiva-trunk -r628473.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: