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

Custom context path causes WARN messages in logs

    Details

      Description

      Reproduction steps:
      1) Get a vanilla 7.1 DXP and patch it fix pack dxp-14
      2) Navigate to liferay-dxp-digital-enterprise-7.1/tomcat-8.0.32/conf/Catalina/localhost and change the filename from ROOT.xml to portale.xml
      3) Navigate to liferay-dxp-digital-enterprise-7.1/tomcat-8.0.32/webapps and change the folder name from ROOT to portale
      4) Start the server, login as admin at http://localhost:8080/portale using IE11

      Expected behavior:
      No WARN messages appear in logs.

      Current behavior:
      Right after the first page load (Welcome page), the following errors appear in Liferay logs:

      2019-11-28 10:00:13.593 WARN  [http-nio-8080-exec-10][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/array.fill.js", uri=/portale/portale/o/frontend-compatibility-ie/array.fill.js}
      2019-11-28 10:00:13.593 WARN  [http-nio-8080-exec-5][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/array.find.js", uri=/portale/portale/o/frontend-compatibility-ie/array.find.js}
      2019-11-28 10:00:14.328 WARN  [http-nio-8080-exec-4][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/fetch.js", uri=/portale/portale/o/frontend-compatibility-ie/fetch.js}
      2019-11-28 10:00:14.644 WARN  [http-nio-8080-exec-8][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/object.assign.js", uri=/portale/portale/o/frontend-compatibility-ie/object.assign.js}
      2019-11-28 10:00:14.816 WARN  [http-nio-8080-exec-6][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/object.entries.js", uri=/portale/portale/o/frontend-compatibility-ie/object.entries.js}
      2019-11-28 10:00:15.137 WARN  [http-nio-8080-exec-7][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/object.values.js", uri=/portale/portale/o/frontend-compatibility-ie/object.values.js}
      2019-11-28 10:00:15.974 WARN  [http-nio-8080-exec-8][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/array.from.js", uri=/portale/portale/o/frontend-compatibility-ie/array.from.js}
      2019-11-28 10:00:15.986 WARN  [http-nio-8080-exec-7][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/array.findindex.js", uri=/portale/portale/o/frontend-compatibility-ie/array.findindex.js}
      2019-11-28 10:00:15.994 WARN  [http-nio-8080-exec-2][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/string.endswith.js", uri=/portale/portale/o/frontend-compatibility-ie/string.endswith.js}
      2019-11-28 10:00:16.032 WARN  [http-nio-8080-exec-5][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/url.search.params.js", uri=/portale/portale/o/frontend-compatibility-ie/url.search.params.js}

      Reproduced on:
      DXP 7.1 + dxp-14
      [email protected]:

      Not reproducible on:
      [email protected]

      Notes:

      • On 7.1.x, the observed WARNs are somewhat different:
      2019-12-03 12:49:44.314 WARN  [http-nio-8080-exec-2][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/core-js-bundle.min.js", uri=/portale/portale/o/frontend-compatibility-ie/core-js-bundle.min.js}
      2019-12-03 12:49:44.314 WARN  [http-nio-8080-exec-7][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/fetch.js", uri=/portale/portale/o/frontend-compatibility-ie/fetch.js}
      2019-12-03 12:49:44.408 WARN  [http-nio-8080-exec-8][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/svg.contains.js", uri=/portale/portale/o/frontend-compatibility-ie/svg.contains.js}
      2019-12-03 12:50:53.467 WARN  [http-nio-8080-exec-7][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/core-js-bundle.min.js", uri=/portale/portale/o/frontend-compatibility-ie/core-js-bundle.min.js}
      2019-12-03 12:50:53.611 WARN  [http-nio-8080-exec-3][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/svg.contains.js", uri=/portale/portale/o/frontend-compatibility-ie/svg.contains.js}
      2019-12-03 12:50:53.619 WARN  [http-nio-8080-exec-8][code_jsp:178] {code="404", msg="/portale/portale/o/frontend-compatibility-ie/fetch.js", uri=/portale/portale/o/frontend-compatibility-ie/fetch.js}

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              norbert.kocsis Norbert Kocsis (Inactive)
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Norbert Kocsis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.1.10 DXP FP16
                  7.1.X