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

TypeError when clicking primary buttons

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      5
    • Last Working Version:

      Description

      Steps to reproduce issue:

      1. Navigate to Control Panel > Configuration > Virtual Instances
      2. Edit the current virtual instance
      3. Click "Save"
      4. Inspect developer console

      Expected result: No errors are logged
      Actual result: TypeError is logged in the developer console:

      Uncaught TypeError: Cannot read property 'ancestor' of null
          at component._focusInvalidFieldTab (form.js:243)
          at component.<anonymous> (oop.js:427)
          at DO.Method.exec (event-custom-base.js:271)
          at component.obj.(:8080/group/control_panel/anonymous function) [as focusInvalidField] (http://localhost:8080/o/frontend-js-web/aui/event-custom-base/event-custom-base.js:152:36)
          at component.validate (aui-form-validator.js:1028)
          at component._onFormSubmit (aui-form-validator.js:1342)
          at Y_Node.<anonymous> (oop.js:403)
          at Y.Subscriber._notify (event-custom-base.js:1306)
          at Y.Subscriber.notify (event-custom-base.js:1335)
          at Y.CustomEvent._notify (event-custom-base.js:998)
      

      Note: This is reproducible in other places:

      • Saving web content article
      • Attempting to execute a script through the Script Engine in Server Administration

      Tomcat 9.0.10 + MySQL 8.0
      Portal master GIT ID: 9b547036c9f2629dd34eadaa3fb1ce1dd10f6212

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony.chu Anthony Chu
                Reporter:
                anthony.chu Anthony Chu
                Participants of an Issue:
                Recent user:
                Anthony Chu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  33 weeks, 5 days ago

                  Packages

                  Version Package