You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Didion (JIRA)" <ji...@codehaus.org> on 2007/06/25 22:46:57 UTC

[jira] Created: (MRM-425) Search and Browse do not work for snapshots

Search and Browse do not work for snapshots
-------------------------------------------

                 Key: MRM-425
                 URL: http://jira.codehaus.org/browse/MRM-425
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.0-alpha-2
            Reporter: John Didion


When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).

Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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

        

[jira] Commented: (MRM-425) Search and Browse do not work for snapshots

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100590 ] 

Maria Odea Ching commented on MRM-425:
--------------------------------------

This was the behavior I encountered for Search:

When an artifact with unique snapshots is searched from Archiva, the search result would contain different hits for that artifact which has the same version but when you click the version to browse the artifact..an 'Unable to find...' error is returned. Below is an example:

The artifact to be searched is castor-anttasks. Let's say it has three SNAPSHOT versions 1.1.2-20070427.065136-1, 1.1.2-20070506.163513-2 and 1.1.2-20070506.163513-3 in the repository, and the path to this artifact is [REPO]/org/codehaus/castor/castor-anttasks/1.1.2-SNAPSHOT.

The search results would then look like this:

Hits: 3 of 3
castor-anttasks
org / codehaus / castor / castor-anttasks | Version(s): 1.1.2-SNAPSHOT

castor-anttasks
org / codehaus / castor / castor-anttasks | Version(s): 1.1.2-SNAPSHOT

castor-anttasks
org / codehaus / castor / castor-anttasks | Version(s): 1.1.2-SNAPSHOT

When you click either of the versions to browse the artifact, what you would get is this error:
'Unable to find project model for [org.codehaus.castor:castor-anttasks:1.1.2-SNAPSHOT]'

> Search and Browse do not work for snapshots
> -------------------------------------------
>
>                 Key: MRM-425
>                 URL: http://jira.codehaus.org/browse/MRM-425
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-2
>            Reporter: John Didion
>
> When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).
> Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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

        

[jira] Closed: (MRM-425) Search and Browse do not work for snapshots

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-425.
--------------------------------

    Resolution: Fixed

Fixed in -r558795.

See comments in MRM-426 for the fix. 

> Search and Browse do not work for snapshots
> -------------------------------------------
>
>                 Key: MRM-425
>                 URL: http://jira.codehaus.org/browse/MRM-425
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-2
>            Reporter: John Didion
>            Assignee: Maria Odea Ching
>
> When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).
> Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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

        

[jira] Work started: (MRM-425) Search and Browse do not work for snapshots

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-425 started by Maria Odea Ching.

> Search and Browse do not work for snapshots
> -------------------------------------------
>
>                 Key: MRM-425
>                 URL: http://jira.codehaus.org/browse/MRM-425
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-2
>            Reporter: John Didion
>            Assignee: Maria Odea Ching
>
> When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).
> Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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

        

[jira] Updated: (MRM-425) Search and Browse do not work for snapshots

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-425:
---------------------------------

    Comment: was deleted

> Search and Browse do not work for snapshots
> -------------------------------------------
>
>                 Key: MRM-425
>                 URL: http://jira.codehaus.org/browse/MRM-425
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-2
>            Reporter: John Didion
>
> When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).
> Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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

        

[jira] Commented: (MRM-425) Search and Browse do not work for snapshots

Posted by "John Didion (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100563 ] 

John Didion commented on MRM-425:
---------------------------------

The repro for search is similar: search for an artifact with snapshot versions, click on one of them, and you get the same error.

> Search and Browse do not work for snapshots
> -------------------------------------------
>
>                 Key: MRM-425
>                 URL: http://jira.codehaus.org/browse/MRM-425
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-2
>            Reporter: John Didion
>
> When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).
> Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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

        

[jira] Updated: (MRM-425) Search and Browse do not work for snapshots

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-425:
---------------------------------

    Fix Version/s: 1.0-beta-1

> Search and Browse do not work for snapshots
> -------------------------------------------
>
>                 Key: MRM-425
>                 URL: http://jira.codehaus.org/browse/MRM-425
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-2
>            Reporter: John Didion
>            Assignee: Maria Odea Ching
>             Fix For: 1.0-beta-1
>
>
> When I to browse or search an artifact with snapshots, I usually get an error when I try to go to the artifact info page. Looking at the logs, Archiva is complaining that the version (x.y.z-SNAPSHOT) does not match the pom file's version (x.y.z-timestamp-buildno).
> Ideally, sequence for browse would be group->artifact->base version->snapshot version. In other words, I would first browse to the base version, under which would be listed all the snapshot versions. The pom snippet on the base version page would have <version>x.y.z-SNAPSHOT</version> and the pom snippet on the snapshot version page would have <version>x.y.z-timestamp-buildno</version>. I think this would be a lot more clear than how it currently works - mixing base versions and snapshot versions on the same page.

-- 
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