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

Fix renderChildNodes/refresh errors when configuring/saving a form layout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.4.0
    • Component/s: Layouts & Widgets

      Description

      After creating a custom document and the configuring it's Create layout a lot of errors in the console are logged one of them being: 

       Uncaught (in promise) TypeError: Cannot read property 'lastChild' of null
          at nuxeo-view-designer.bundle.js:5908
          at new Promise (<anonymous>)
          at HTMLElement._renderChildNodes (nuxeo-view-designer.bundle.js:5908)
          at nuxeo-view-designer.bundle.js:5908

      How to reproduce:

      • Go to studio and in Modeler create new custom document
      • go to Designer and configure the create layout of that new document
      • some errors are logged in the browser console

      console errors image attached

        Attachments

        1. image.png
          328 kB
          Fábio Santos

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 20 minutes
                  2h 20m