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

The apply versioning configuration value for the AMD loader configuration servlet is not working

    Details

      Description

      Problem

      Currently, the Apply versioning option of JavaScript Loader system settings does not alter the behavior of the frontend-js-loader-modules-extender because it is incorrectly retrieved from OSGi's config admin.

      Steps to reproduce:

      1. Start the portal
      2. Go to Control Panel > Configuration > System Settings > JavaScript Loader and check the Apply versioning option
      3. Request /o/js_loader_modules URL in a browser tab
      4. Look for the string liferay-porygon-theme@1.0.23/js/top_search.es

       

      Expected results:

      There should be two repeated lines for liferay-porygon-theme@1.0.23/js/top_search.es:

      "liferay-porygon-theme@1.0.23/js/top_search.es":{"dependencies":["exports","metal/src/async/async","metal/src/core","metal-dom/src/dom","metal-state/src/State"]},
      "liferay-porygon-theme@1.0.23/js/top_search.es":{"dependencies":["exports","metal/src/async/async","metal/src/core","metal-dom/src/dom","metal-state/src/State"]},
      

      Actual results:

      Only one line appears.

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 9 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP30
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master