Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-805

Fix complex type generation when only one sub field is defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1
    • Component/s: Documents

      Description

      When adding only one sub field in a complex field, the following error occurs at Nuxeo startup:

      Caused by: java.lang.ClassCastException: org.nuxeo.ecm.core.schema.types.ListTypeImpl cannot be cast to org.nuxeo.ecm.core.schema.types.ComplexType

      This is due to bad generation of sub field elements.

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: