Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-84467

During Form creation, Uncaught TypeError: root.getFormId is not a function error is thrown in browser console

    Details

      Description

      Summary
      During Form creation, Uncaught TypeError: root.getFormId is not a function error is thrown in browser console when using Tab key to change focus to a specific element

      Steps to Reproduce

      1. Go to Your Site -> Content -> Forms
      2. Click on New Form
      3. Title the form
      4. Drag and drop "Select from List" element
      5. Save Form
      6. Open up your browser console
      7. Click on page description field
      8. Press your tab key twice to focus on "Select from List" element
      9. Check the browser console

      Actual Results
      No visual errors, but browser console reports a JS error

      Uncaught TypeError: root.getFormId is not a function
          at component._fireFocusEvent (?browserId=other&min...ieldset_field.js:22)
          at component._onInputFocus (?browserId=other&min...ieldset_field.js:24)
          at Y_Node.<anonymous> (combo?browserId=othe...t-htmlparser.js:170)
          at Y.Subscriber._notify (combo?browserId=othe...nt-delegate.js:1490)
          at Y.Subscriber.notify (combo?browserId=othe...nt-delegate.js:1491)
          at Y.CustomEvent._notify (combo?browserId=othe...nt-delegate.js:1486)
          at Y.CustomEvent._procSubs (combo?browserId=othe...nt-delegate.js:1488)
          at Y.CustomEvent.fireSimple (combo?browserId=othe...nt-delegate.js:1487)
          at Y.CustomEvent._fire (combo?browserId=othe...nt-delegate.js:1487)
          at Y.CustomEvent.fire (combo?browserId=othe...nt-delegate.js:1487)

      Expected Behavior
      No errors are thrown.

      Reproduced in
      7.1.x Private Commit: 40d9e186b7f81ae2c027e7e89fdb1ad890d6eb9f

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 4 weeks ago

                Packages

                Version Package
                7.1.X
                Master