Continuum
  1. Continuum
  2. CONTINUUM-1935

JPOX exception storing ChangeFile: NAME column is too short

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: Core system
    • Labels:
      None
    • Environment:
      Windows 2003 Server SP2, JDK 1.5.0_16, JBoss 4.2.3.GA, Continuum 1.2
    • Complexity:
      Intermediate
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      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

      1. continuum.txt
        7 kB
        M.-Leander Reimer
      2. continuum.xml.patch
        0.5 kB
        M.-Leander Reimer

        Activity

        Hide
        Olivier Lamy added a comment -

        fixed in branch 1.2.x rev 705910
        Merge in trunk rev 705911.

        Show
        Olivier Lamy added a comment - fixed in branch 1.2.x rev 705910 Merge in trunk rev 705911.

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            M.-Leander Reimer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: