JPOX exception storing ChangeFile: NAME column is too short
-----------------------------------------------------------

                 Key: CONTINUUM-1935
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1935
             Project: Continuum
          Issue Type: Bug
          Components: Core system
    Affects Versions: 1.2
         Environment: Windows 2003 Server SP2, JDK 1.5.0_16, JBoss 4.2.3.GA, 
Continuum 1.2
            Reporter: M.-Leander Reimer
         Attachments: continuum.txt, continuum.xml.patch

Hi there,

for one of our projects Continuum is unable to save ChangeFile entries in the 
database. The value of the file name is quite long, longer than the allowed 255 
characters. I have attached the error logs.

The reason is that the definition for the NAME field for class ChangeFile in 
the file continuum-model\src\main\mdo\continuum.xml is wrong. Instead of

        <field>
          <name stash.maxSize="1024">name</name>
          <version>1.0.9+</version>
          <type>String</type>
        </field>

it should be

        <field stash.maxSize="1024">
          <name>name</name>
          <version>1.0.9+</version>
          <type>String</type>
        </field>

After changing this and recompiling Continuum 1.2 everything works find.

Regards,
Leander



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

        

Reply via email to