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 2008/03/14 10:15:29 UTC

[jira] Closed: (MRM-608) Unable to find project model for [...] if the initial import of the POM failed

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

Maria Odea Ching closed MRM-608.
--------------------------------

    Resolution: Fixed

Fixed in -r637023.

-set whenProcessed to null of every artifact discovered (ArtufactUpdateDatabaseConsumer)

> Unable to find project model for  [...] if the initial import of the POM failed
> -------------------------------------------------------------------------------
>
>                 Key: MRM-608
>                 URL: http://jira.codehaus.org/browse/MRM-608
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository scanning
>    Affects Versions: 1.0
>         Environment: Windows32
>            Reporter: Arne Degenring
>            Assignee: Maria Odea Ching
>            Priority: Critical
>             Fix For: 1.1
>
>         Attachments: archiva.log, data.zip
>
>
> It seems that Archiva is not properly updating the database if the initial import of the POM failed due to a parse error, even after the original problem has been corrected, the repository has been rescanned, and the database updated again.
> Steps to reproduce:
> 1. Start with a fresh Archiva 1.0 installation
> 2. Drop a group containing an artifact with a broken POM (illegal XML) to Archiva's internal repo directory
> 3. Run "Scan Repository Now" and "Update Database Now".
>     The log shows a ProjectModelException because the broken POM could not be parsed.
> 4. Fix the broken POM. Run "Scan Repository Now" and "Update Database Now" again.
> 5. Use the "Browse" page to browse to the artifact -> you get the error message:
>     Unable to find project model for [junit:junit:3.7]. 
> I've attached the zipped contents of the "data" directory after performing the steps above, and the log file.
> Notice that there might be general repository scanning problem in 1.0 that could be related, see
> http://www.nabble.com/Repository-scanning-problem-in-1.0--tf4897121.html

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