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 2009/11/19 04:48:55 UTC

[jira] Created: (MRM-1280) SNAPSHOT artifacts are not processed with timestamped versions while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

SNAPSHOT artifacts are not processed with timestamped versions while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MRM-1280
                 URL: http://jira.codehaus.org/browse/MRM-1280
             Project: Archiva
          Issue Type: Bug
          Components: browser, web application
            Reporter: Maria Odea Ching




-- 
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-1280) SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

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

Brett Porter updated MRM-1280:
------------------------------

    Fix Version/s: 1.3

will check to see if this is solved by the refactoring in MRM-1025

> SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1280
>                 URL: http://jira.codehaus.org/browse/MRM-1280
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser, web application
>            Reporter: Maria Odea Ching
>             Fix For: 1.3
>
>


-- 
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-1280) SNAPSHOT artifacts are not processed with timestamped versions while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

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

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

To reproduce this:
# Go to Upload Artifact page and upload a new artifact with the following coordinates:
#* groupId: org.apache.archiva
#* artifactId: archiva-indexer
#* version: 1.0-SNAPSHOT
#* packaging: jar
# Tick Generate Maven 2 POM checkbox
# Select snapshots for the repository
# Add a SNAPSHOT artifact and click Submit
# After uploading the artifact, browse it from the webapp browse

Notice that in the download box, only the Jar file is shown. The Other Versions field in the artifact info page shows the timestamp version and when you click it, you'll be redirected to the artifact info page that shows only the Pom file in the download box.

Running the database scanning solves this problem though.



> SNAPSHOT artifacts are not processed with timestamped versions while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1280
>                 URL: http://jira.codehaus.org/browse/MRM-1280
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser, web application
>            Reporter: Maria Odea Ching
>


-- 
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-1280) SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203645#action_203645 ] 

Brett Porter commented on MRM-1280:
-----------------------------------

not fixed - this is a result of some badly duplicated code in UploadArtifactAction.

1) the getMetadata method retrieves the wrong level of metadata, so no snapshot info is present - therefore always deploying builder number 1 regardless of what was there before
2) the updateMetadata method isn't called due to the existence of the consumer, but that doesn't seem to handle the case of snapshots being added. The metadata should be updated and the asynchronous processes done afterwards to avoid clashes like there were before
3) the consumers are called with the 1.0-SNAPSHOT version instead of the new timestamped snapshot version, causing the incorrect information in the database

It would be better if this action could delegate to the normal PUT request in the webdav module as much as possible.

> SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1280
>                 URL: http://jira.codehaus.org/browse/MRM-1280
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser, web application
>            Reporter: Maria Odea Ching
>             Fix For: 1.3
>
>


-- 
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-1280) SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

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

Maria Odea Ching updated MRM-1280:
----------------------------------

    Fix Version/s:     (was: 1.3)
                   1.3.1

> SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1280
>                 URL: http://jira.codehaus.org/browse/MRM-1280
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser, web application
>            Reporter: Maria Odea Ching
>             Fix For: 1.3.1
>
>


-- 
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-1280) SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

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

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

The download link for the jars are also incorrect as it points to the generic snapshot (e.g. 1.0-SNAPSHOT) instead of the timestamped one that is actually in the repository.

> SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1280
>                 URL: http://jira.codehaus.org/browse/MRM-1280
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser, web application
>            Reporter: Maria Odea Ching
>


-- 
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-1280) SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse

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

Maria Odea Ching updated MRM-1280:
----------------------------------

    Summary: SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse  (was: SNAPSHOT artifacts are not processed with timestamped versions while their poms are processed with timestamped versions resulting to being treated as separate versions in browse)

> SNAPSHOT artifacts are not processed with timestamped versions when added via web upload form while their poms are processed with timestamped versions resulting to being treated as separate versions in browse
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-1280
>                 URL: http://jira.codehaus.org/browse/MRM-1280
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser, web application
>            Reporter: Maria Odea Ching
>


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