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

dom.closest is used in commerce-product-options-web module

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • Master
    • 7.4.13 DXP GA1, Master
    • Metal.js
    • None

    Description

      Steps to Reproduce:
      1. run command:

      grep -rn "import {[A-Za-z]*\} from 'metal-dom'\|import [A-Za-z]* from 'metal-dom'" * 

      Expected Result:
      returns no lines except from frontend-js-metal-web directory if any

      Actual Result:
      modules/apps/commerce/commerce-product-options-web/src/main/resources/META-INF/resources/CPOptionValueList.es.js:16:import dom from 'metal-dom';

      Looking within the file, it contains a metal-dom function

      var row = dom.closest(target, 'tr');
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7
      Portal master GIT ID: 96c149a3c5f197d1c0c0a40069ab2d5c0495df8d

      Attachments

        Activity

          People

            john.co John Co
            john.co John Co
            Kiyoshi Lee Kiyoshi Lee
            Diego Nascimento Diego Nascimento (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 4 weeks, 2 days ago

              Packages

                Version Package
                7.4.13 DXP GA1
                Master