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

Schemas > Fix parsing of int field, treated as string

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 22
    • Fix Version/s: 73.12
    • Component/s: Documents
    • Tags:
    • Sprint:
      Sprint io 7.1-7, NOS 10.2.3
    • Story Points:
      1

      Description

      In Schemas, create a schema using advanced option "import" and attached xsd file that references the given field:

        <xs:element name="groupCode" type="xs:string" nillable="false" nxsv:nillable="false">
          <xs:simpleType>
            <xs:restriction base="xs:integer">
              <xs:minExclusive value="0" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
      

      The int restriction makes Nuxeo handle this field as a LongProperty, but Studio still parses this field as "string".

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m