You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org> on 2007/05/29 20:10:59 UTC

[jira] Closed: (MRM-380) When trying to look at project with empty groupId

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

Joakim Erdfelt closed MRM-380.
------------------------------

    Resolution: Fixed

Fixed in trunk.

> When trying to look at project with empty groupId
> -------------------------------------------------
>
>                 Key: MRM-380
>                 URL: http://jira.codehaus.org/browse/MRM-380
>             Project: Archiva
>          Issue Type: Bug
>          Components: browser
>    Affects Versions: 1.0-alpha-1
>            Reporter: Philip Dodds
>            Assignee: Joakim Erdfelt
>             Fix For: 1.0-alpha-1
>
>
> When going to look at a project which has an empty groupId - see maven-rar-plugin as an example.
> Therefore if you goto - http://localhost:9091/browse/org.apache.maven.plugins/maven-rar-plugin/2.2
> You end up with :
> HTTP ERROR: 500
> Field org.apache.maven.archiva.model.ArchivaProjectModel.groupId is null, but is mandatory as its described in the jdo metadata
> RequestURI=/browse/org.apache.maven.plugins/maven-rar-plugin/2.2
> Caused by:
> javax.jdo.JDOUserException: Field org.apache.maven.archiva.model.ArchivaProjectModel.groupId is null, but is mandatory as its described in the jdo metadata
> 	at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:120)
> 	at org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
> 	at org.apache.maven.archiva.model.ArchivaProjectModel.jdoProvideField(ArchivaProjectModel.java)
> 	at org.apache.maven.archiva.model.ArchivaProjectModel.jdoProvideFields(ArchivaProjectModel.java)
> 	at org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
> 	at org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:221)
> 	at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)

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