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

Prune useless expressions from conditional

    Details

      Description

      Theres is an "if" statement at https://github.com/liferay/liferay-portal-ee/blob/dd0b8cf5f69d1e92deceb9765aa64280711aef7f/modules/apps/commerce/commerce-frontend-js/src/main/resources/META-INF/resources/utilities/index.es.js#L125 that checks expressions that should never be anything by truthy (because a fallback "Liferay" object is set up previously in the module.

      So these should be trimmed out.

        Attachments

          Activity

            People

            Assignee:
            fabio.mastrorilli Fabio Mastrorilli
            Reporter:
            greg.hurrell Greg Hurrell (Inactive)
            Engineering Assignee:
            Greg Hurrell (Inactive)
            Recent user:
            Enterprise Release HU
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                7.1.X