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

Fix examples in Registries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 53
    • Fix Version/s: 55.1, 56
    • Component/s: Registries

      Description

      The example provided for Document Facets in Registries is:

      { 
        facets: 
          [ 
            {
              id: "MyFirstFacet", 
              description: "This is my first facet", 
            },
            { 
              id: "MySecondFacet", 
              label: "My Second Facet",
              description: "This is my second facet", 
              // since Nuxeo 5.5, a facet can hold schemas
              schemas: ["schemas_defined_for_facets"], 
            } 
          ] 
      }
      

      It is missing quotes, so there are errors displayed to the user when they insert it.
      It should be something like:

      { 
        "facets": 
          [ 
            {
              "id": "MyFirstFacet", 
              "description": "This is my first facet", 
            },
           [...]
          ] 
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: