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

Make title as required on custom doctype layouts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11.0
    • Component/s: Studio Designer
    • Backlog priority:
      1,000
    • Sprint:
      NOS 11.1.6 - 2019-04 1, NOS 11.1.7 - 2019-04 2
    • Story Points:
      2

      Description

      When creating a custom document type, if I generate the layouts, the dc:title property is never set as mandatory.

      This is a problem as Web UI enforces it client side.

      When the configuration is deployed, I can't validate the creation form:

      • if the title isn't filled with a value (there's no red star indicating it, and no error message)
      • even if I calculate this value with an automation chain on the "About to create" event. In this case, the only workaround is to set a value in the script section, or to set a value with an automation chain on the "Empty document created" event.

      => Studio should provide consistent configuration with what Web UI provides to prevent confusing users

      AC:

      • For TPs 8.10+, in Designer
        • make title as required by default when generating a layout for a custom doctype in create / edit / import
        • make title required when d&d dc:title in edit mode
      • Existing layouts should remain unaffected by the change

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 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 - 2 hours
                  2h