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

Handle required constraint in Designer for nuxeo-data-table element

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 73.6.2
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Schemas

      Description

      UPDATE THE CATALOG

      USER STORIES
      As a Studio user

      When I scaffold a layout containing a property

      • that makes use of the nuxeo-data-table-element
      • that has the required constraint at schema level
        Studio Designer reflects in the element's properties that the field is required

      When I drag and drop a field in a layout

      • that makes use of the nuxeo-data-table-element
      • that has the required constraint at schema level
        Studio Designer reflects in the element's properties that the field is required

      Multivalued: required on data table element
      Complex: required on all sub fields as web ui will send null, not empty.
      Complex multivalued: required on data table element.

      ACCEPTANCE CRITERIA

      • Given that I create a schema that contains a multivalued property of any kind (boolean, text, date, etc)
      • When I scaffold a layout containing this schema in a document or workflow task layout
      • Then a nuxeo-data-table element is created and the element properties reflect that the property is required
      • Given that I create a schema that contains a multivalued property of any kind (boolean, text, date, etc)
      • When I drag and drop this property in a document or workflow task layout
      • Then a nuxeo-data-table element is created and the element properties reflect that the property is required
      • Given that I create a schema that contains a complex multivalued property
      • with two subproperties of any kind (boolean, text, date, etc)
      • and that only the complex property is marked as required
      • When I scaffold a layout containing this schema in a document or workflow task layout
      • Then:
        • a nuxeo-data-table element is created and the element properties reflect that the property is required
        • the sub properties are not marked as required
      • Given that I create a schema that contains a complex multivalued property
      • with two subproperties of any kind (boolean, text, date, etc)
      • and that only the complex property is marked as required
      • When I drag and drop this property in a document or workflow task layout
      • Then:
        • a nuxeo-data-table element is created and the element properties reflect that the property is required
        • the sub properties are not marked as required

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.