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

Cannot have a StringList inside a complex as a predicate in PageProviders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.10.1
    • Fix Version/s: None
    • Component/s: Page Providers

      Description

      How to reproduce

      • create a DocumentType MyDoc with a schema mydoc with a complex cmplx composed of a multivalued string strlst
      • Create a PageProvider MyPP, and add a predicate mydoc>cmplx>strlst
        You then get an exception:

      Exception in Firefox

      Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) :this.q.LJb(...) is null
          at Unknown.wWe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.tWe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.SWe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.JWe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.B$e(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Jqb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Kqb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Qhb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.nrb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Mrb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Srb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Crb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Tz(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Lqb(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Voe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.woe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Soe(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Fod(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Eod(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.Ktd(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.sI(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.vI(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.uI/<(https://connect.nuxeo.com/nuxeo/site/studio/ide?project=pabgrall-sandbox-10-nuxe#@branches line 9 > scriptElement)
          at Unknown.anonymous(Unknown)
      

      Exception in Chrome:

      Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'ZJb' of null
          at Unknown.wWe(studio-0.js)
          at Unknown.tWe(studio-0.js)
          at Unknown.SWe(studio-0.js)
          at Unknown.JWe(studio-0.js)
          at Unknown.B$e(studio-0.js)
          at Unknown.Jqb(studio-0.js)
          at Unknown.Kqb(studio-0.js)
          at Unknown.Qhb(studio-0.js)
          at Unknown.nrb(studio-0.js)
          at Unknown.Mrb(studio-0.js)
          at Unknown.Srb(studio-0.js)
          at Unknown.Crb(studio-0.js)
          at Unknown.Tz(studio-0.js)
          at Unknown.Lqb(studio-0.js)
          at Unknown.Voe(studio-0.js)
          at Unknown.woe(studio-0.js)
          at Unknown.Soe(studio-0.js)
          at Unknown.Fod(studio-0.js)
          at Unknown.Eod(studio-0.js)
          at Unknown.Ktd(studio-0.js)
          at Unknown.sI(studio-0.js)
          at Unknown.vI(studio-0.js)
          at Unknown.eval(studio-0.js)
      

      Expected outcome: being able to add a multivalued string in a complex as a predicate

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

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