You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2010/04/02 13:21:22 UTC

[jira] Closed: (MRM-1321) Snapshot is linking to oldest version in Archiva GUI

     [ http://jira.codehaus.org/browse/MRM-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-1321.
---------------------------------

    Resolution: Fixed

Patch applied to 1.3.x branch in [-r930242|http://svn.apache.org/viewvc?revision=930242&view=revision]. I've also updated the existing unit test for view artifact to the correct behavior. This will not be merged to trunk since we are no longer using a database in there now.

Thanks again for the patch Daniel! 

> Snapshot is linking to oldest version in Archiva GUI
> ----------------------------------------------------
>
>                 Key: MRM-1321
>                 URL: http://jira.codehaus.org/browse/MRM-1321
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.3
>         Environment: all
>            Reporter: Daniel Triphaus
>            Assignee: Maria Odea Ching
>             Fix For: 1.3.1
>
>         Attachments: archiva-database.diff, DefaultRepositoryBrowsing.java
>
>
> If i upload a Snapshot to archiva it shows up as Version 0.0.1-20100127.073805-1 and the Version of the 0.0.1-SNAPSHOT Artifact is also 0.0.1-20100127.073805-1. So if i download the jar from the orange box, i get the version 0.0.1-20100127.073805-1. Now i upload a later snapshot version to archiva: 0.0.1-20100127.074443-3. The Version shows up in the list of snapshots in archiva (other versions), but the Version is still set to 0.0.1-20100127.073805-1. So if i download the jar from the orange box it is still version 0.0.1-20100127.073805-1 and not the latest version. maven-metadata.xml is correct and builds get the latest version, but archiva-gui shows up the first uploaded snapshot. In Archiva 1.2.2 this was working correct. If the oldest snapshot gets purged, archiva uses the oldest still available version to show up as xxx-SNAPSHOT. Maybe some kind of sorting was changed?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira