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

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

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


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

        

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

Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

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

Work on MRM-380 started by Joakim Erdfelt.

> 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

        

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

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

Philip Dodds commented on MRM-380:
----------------------------------

The same applies for projects that inherit their version from the parent pom.

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