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

"null is not an object" when adding a new field in System Settings

    Details

      Description

      Description
      In some cases a new "Supported MIME types" field cannot be added.

      Steps to reproduce

      1. Setup DXP 7.1 and install DXP-17
      2. Login Liferay as administrator
      3. Navigate to Control Panel > Configuration > System Settings > CONTENT:Adaptive Media > Images
      4. Click on the first + button for "Supported MIME types" to add the new MIME field
      5. Confirm that a new "Supported MIME types" field has been added
      6. Click the "+" button below the empty added field

      Actual result
      No field is added. The following error is thrown in browser's console:
      TypeError: null is not an object (evaluating 'inputNode.val')

      Expected result
      New empty field is correctly added below.

      Reproduced in
      DXP-17
      71x Commit: d8e8add360aff04071c66921c9c14cf7c87e033f

      Not reproduced in
      Master Commit: 1f4f5297456bbf078f3be4152b1e5576799c39b3

      Note1
      Same issue is occurred in Content > Assets > WIDGET SCOPE:Asset Publisher

      Note2
      Sometimes, after successfully adding a new field, focusing onto it also triggers that javascript error and clicking Save does not save the data

      * Please see Zendesk Support tab for further comments and attachments.

        Attachments

          Activity

            People

            • Assignee:
              sharry.shi Sharry Shi
              Reporter:
              hong.vo Hong Vo
              Participants of an Issue:
              Recent user:
              Sharry Shi
              Engineering Assignee:
              Hong Vo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 week, 3 days ago

                Packages

                Version Package
                7.1.X