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

Fix automated search form layout configuration with custom schemas

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      • Create a custom document, "Contract" with it's own schema, including a Date field, "signatureDate", and a complex field, "client" with several subfields including a String field, "lastName".
      • Create a page provider, "otherContracts" with the following query filter:
        ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0 AND ecm:primaryType='Contract'
        
      • Add an aggregate on dc:created
      • Add a predicate on the lastName field of the contract's "client" field.
      • In Designer, under Layouts, click on the otherContracts page provider.
      • From the main view, click on the form layout.
        => Error appears:

        Field 'contract_client' not found in schema undefined
        Field 'contract_client' not found in schema undefined
        Field 'contract_client' not found in schema undefined
        Field 'contract_client' not found in schema undefined
        Variable 'contract_signatureDate_agg' is not defined in the search document model
        Field 'contract_client' not found in schema undefined
        Field 'contract_client' not found in schema undefined
        Field 'contract_client' not found in schema undefined
        Field 'contract_client' not found in schema undefined
        Variable 'contract_signatureDate_agg' is not defined in the search document model

      It seems that after 2-3 minutes of waiting, the fields appear under the error message. Then clicking on Save removes the error messages.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 45 minutes
                  45m

                    PagerDuty

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