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

It's not possible to disable Lodash in 7.1.x because we still have some dependencies

Details

    Description

      Into 7.1.x portal configuration, we can remove the dependency to Lodash library "_.(lodash_function)",

      if we do this we can get some errors because we still have some references in the code on these files:

      1. portal-web/docroot/html/taglib/ui/quick_access/page.jsp
        line 75: _.isFunction(callbackFn)
      2. portal-web/docroot/html/taglib/ui/user_name_fields/page.jsp
        line 45 and 81: _.forEach

      Because we still have these dependencies it's not possible to disable Lodash in 7.1.x , so we replace this call with pure js functions. 

       

      Attachments

        Activity

          People

            summer.zhang Summer Zhang
            georgel.pop Georgel Vasile Pop
            Kiyoshi Lee Kiyoshi Lee
            Georgel Vasile Pop Georgel Vasile Pop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 36 weeks ago

              Packages

                Version Package
                7.1.10 DXP FP17
                7.1.10.4 SP4
                7.1.X