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

Fix the error message in Designer when all schemas are chosen for a page provider form

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: To Do
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Studio Designer

      Description

      While the Platform team was working on NXP-31118, it appeared that it's too complex to manage the case where a CSV export has to return all schemas (because it would require to extract all schemas from the TypeService and the CSV file would have too many columns).

      As a workaround, we want to display an ERROR in Designer when a user defines a search form for a page provider with schemas="*"

      <nuxeo-slot-content name="TestAllSchemas" slot="DRAWER_PAGES">
        <template>
          <nuxeo-search-form provider="pp_testAllSchemas" schemas="*" search-name="pp_testallschemas" name="testallschemas"></nuxeo-search-form>
        </template> 

       

      The 2 -bundle.html and -custom-bundle.html files need to be analyzed to find this pattern where the element "nuxeo-search-form" is used with schemas="*" and then display an error in the UI.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: