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

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            georgel.pop Georgel Vasile Pop
            Participants of an Issue:
            Recent user:
            Summer Zhang
            Engineering Assignee:
            Georgel Vasile Pop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 20 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP17
                7.1.10.4 SP4
                7.1.X