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

Fix Complex type definition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.3.3
    • Component/s: Schemas

      Description

      Since the last release, some Complex fields have a different definition

      Before NXS-6915:

      <xs:element name="CategoryBuckets" type="nxs:category_group_asset_CategoryBucketsListType" nillable="false" nxsv:nillable="false"/>
      

      After NXS-6915:

        <xs:element name="CategoryBuckets" nillable="false">
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:complex"/>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
        </xs:element>
      

      => it makes Nuxeo deployment fail with this error

      ERROR [main] [org.nuxeo.ecm.core.schema.XSDLoader] Error: undefined simple type 'xs:complex'
      ERROR [main] [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.ecm.core.schema.TypeService notification of application started failed: Cannot load schemas
      java.lang.RuntimeException: Cannot load schemas
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: