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

Allow * character for schemas and warn about performance impact

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.9.0
    • Component/s: Studio Designer

      Description

      When configuring a list tab or a search item in the drawer, setting * as the value for schemas results in an error message that the schemas field is empty. This is wrong and confusing.

      • create a page provider in modeler and keep the default settings
      • click on "Configure layouts in Designer →"
      • generate the result form
      • go to tabs
      • click on + listing
      • set the page provider name
      • set schemas to *
      • set search-name
      • save
        ==> there is an error message "The attribute "schemas" cannot be empty."

      AC
      In

      • tabs / listings
      • drawer items / search
      • drawer menus / listing
      • When using the nuxeo-results-view or nuxeo-search-form as a custom element and * for schemas value

      I can use the * value for the schemas parameters.
      When doing so

      • a warning is issued

        Using * for schemas will retrieve all of them and may impact performances.

      • designer does not issue the warning: The "*" schema is not defined as currently

        Attachments

        1. schemas.png
          183 kB
          Michaël Vachette

          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 - 1 day
                  1d