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:38:59 UTC

[jira] Closed: (MRM-379) Limit in description size causes problems with Apache parent POM

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

Joakim Erdfelt closed MRM-379.
------------------------------

    Resolution: Fixed

Fixed in trunk.
Bumped up size limits on Description field from jpox defaults (which is a mystery number) to a more sane 8192 characters.

> Limit in description size causes problems with Apache parent POM
> ----------------------------------------------------------------
>
>                 Key: MRM-379
>                 URL: http://jira.codehaus.org/browse/MRM-379
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-1
>         Environment: os/x
>            Reporter: Philip Dodds
>            Assignee: Joakim Erdfelt
>             Fix For: 1.0-alpha-1
>
>
> When running from jetty:run and trying to look at the Apache parent pom you end up with a problem with the max length of the description - see http://localhost:9091/browse/org.apache/apache/3
> javax.jdo.JDOFatalUserException: Attempt to store value "The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developers and users." in column "DESCRIPTION" that has maximum length of 256. Please correct your data!
> 	at org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping.java:214)
> 	at org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.java:203)
> 	at org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:122)
> 	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)
> I would imagine we would want to store descriptions to allow them to hold far more data.

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