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

Fix neverending spinner on custom search after a hot reload

    XMLWordPrintable

    Details

      Description

      Configure a custom search as shown in https://nos-preprod-connect.nuxeocloud.com/nuxeo/site/studio/ide?project=tests-studio tag nxs-5336-neverending-spinner
      predicates on
      dc:created between operator
      d:title with dc:title.fulltext index fulltext analyzer more_like_this hint
      forms configured for search and results layouts

      Deploy it and launch it
      => get the following in the console:

      TypeError: beforeBind is not a function data: { // eslint-disable-next-line no-undef :56:11
          _beforeBind http://localhost:8080/nuxeo/ui/nuxeo-app.html-170.js:56
          runMethodEffect http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:798
          runEffectsForProperty http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:142
          runEffects http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:108
          _propertiesChanged http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1692
          _flushProperties http://localhost:8080/nuxeo/ui/nuxeo-app.html-10.js:327
          _flushProperties http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1540
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1645
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-15.js:540
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-19.js:130
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-27.js:193
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-28.js:223
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-28.js:223
          _enableProperties http://localhost:8080/nuxeo/ui/nuxeo-app.html-10.js:307
          __enableOrFlushClients http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1583
          _readyClients http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1600
          _flushClients http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1554
          _propertiesChanged http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1688
          _flushProperties http://localhost:8080/nuxeo/ui/nuxeo-app.html-10.js:327
          _flushProperties http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1540
          ready http://localhost:8080/nuxeo/ui/nuxeo-app.html-13.js:1645
          _enableProperties http://localhost:8080/nuxeo/ui/nuxeo-app.html-10.js:307
          TemplateInstanceBase http://localhost:8080/nuxeo/ui/nuxeo-app.html-31.js:81
          klass http://localhost:8080/nuxeo/ui/nuxeo-app.html-31.js:291
          TemplateInstance http://localhost:8080/nuxeo/ui/nuxeo-app.html-31.js:516
          __stampInstance http://localhost:8080/nuxeo/ui/nuxeo-app.html-36.js:598
          __insertInstance http://localhost:8080/nuxeo/ui/nuxeo-app.html-36.js:611
          __applyFullRefresh http://localhost:8080/nuxeo/ui/nuxeo-app.html-36.js:562
          __render http://localhost:8080/nuxeo/ui/nuxeo-app.html-36.js:513
          __render self-hosted:989
          _timer http://localhost:8080/nuxeo/ui/nuxeo-app.html-16.js:29
          microtaskFlush http://localhost:8080/nuxeo/ui/nuxeo-app.html-9.js:20
      

      launch a hot reload or refresh the page in web ui or try to access the search form url
      => the search form becomes frozen with a neverending spinner

      you need to restart the server for the problem to go away

      expected: search should load and be usable after a hot reload

        Attachments

          Activity

            People

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