-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.10 DXP FP7, 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP9, 7.2.X, 7.3.X, 7.3.5 CE GA6, 7.3.10 DXP GA1, Master
-
Component/s: AMD Module Loader
-
Labels:
-
Branch Version/s:7.3.x, 7.2.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Git Pull Request:
Description:
CDN configuration property cdn.dynamic.resources.enabled=false does not work as expected: if a CDN is enabled using cdn.host.http= and/or cdn.host.https=, dynamic resources will be requested from the CDN instead of served by Liferay even when cdn.dynamic.resources.enabled=false is set.
Steps to Reproduce:
1. Prepare a clean DXP 7.2 SP1 bundle.
2. Set the CDN properties:
cdn.dynamic.resources.enabled=false cdn.host.http=http://localhost:3000 cdn.host.https=https://localhost:3000
3. Start Liferay and open the Dev Tools.
Expected:
Dynamic resources, such as combo javascripts, should be served by Liferay and not the CDN
Actual:
Liferay is requesting dynamic resources, such as combo javascripts, are being requested from whatever URL was configured in the CDN Host properties.
Reproduced on:
72x: 476b035983c0ad5f9b6b5970ad7d3be4005971b7
master: 5fc5e4647f47060c679ed18f93c287f368442150
* Please see Zendesk Support tab for further comments and attachments.