[ http://jira.codehaus.org/browse/MRM-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_107699 ]
Maria Odea Ching commented on MRM-510: -------------------------------------- See http://www.nabble.com/Snapshot-Browse-Failure%3A-*-beta-2-release-tf4475201s177.html also for more info > In Repository Browse, the first unique snapshot version clicked is getting > persisted in the request resulting to 'version does not match' error > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MRM-510 > URL: http://jira.codehaus.org/browse/MRM-510 > Project: Archiva > Issue Type: Bug > Components: browser > Affects Versions: 1.0-beta-2 > Reporter: Maria Odea Ching > > The first unique snapshot version you clicked is getting persisted in the > request that's why the DatabaseUnprocessedArtifactConsumer gets the 'version > does not match' error when the actual requested artifact's pom file is > compared with the version in the request. > Let's say you have the following in your repository, so from the Browse page.. > [top] / org / jruby / plugins / jruby-rake-plugin > Versions > * 1.0RC1-20070504.153317-1/ > * 1.0RC1-20070504.160758-2/ > * 1.0RC1-20070505.090015-3/ > * 1.0RC1-20070506.090132-4/ > * 1.0RC1-SNAPSHOT/ > 1. Click 1.0RC1-20070504.160758-2, the artifact info will be displayed. > 2. Now go back to the previous page and click 1.0RC1-20070504.153317-1, this > would be displayed 'Unable to find project model for > [org.jruby.plugins:jruby-rake-plugin:1.0RC1-20070504.153317-1].' in the > page.. and from the logs you will see the following error: > jvm 1 | 2007-09-19 10:08:29,594 [SocketListener0-1] WARN > org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project > - Project Model groupId = 'org.jruby.plugins' > jvm 1 | artifactId = 'jruby-rake-plugin' > jvm 1 | version = '1.0RC1-20070504.160758-2' version: > 1.0RC1-20070504.160758-2 does not match the pom file's version: > 1.0RC1-20070504.153317-1 > jvm 1 | 2007-09-19 10:08:29,597 [SocketListener0-1] WARN > org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project > - Invalid or corrupt pom. Project model groupId = 'org.jruby.plugins' > 3. Go back again to the previous page and click 1.0RC1-20070506.090132-4, > this would be displayed 'Unable to find project model for > [org.jruby.plugins:jruby-rake-plugin:1.0RC1-20070506.090132-4].' in the > page.. and from the logs you will see the following error: > jvm 1 | 2007-09-19 10:08:05,957 [SocketListener0-1] WARN > org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project > - Project Model groupId = 'org.jruby.plugins' > jvm 1 | artifactId = 'jruby-rake-plugin' > jvm 1 | version = '1.0RC1-20070504.160758-2' version: > 1.0RC1-20070504.160758-2 does not match the pom file's version: > 1.0RC1-20070506.090132-4 > jvm 1 | 2007-09-19 10:08:06,350 [SocketListener0-1] WARN > org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project > - Invalid or corrupt pom. Project model groupId = 'org.jruby.plugins' > Notice that the one being added in the database is still the first unique > version you clicked, which is 1.0RC1-20070504.160758-2. -- 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