-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X
-
Fix Version/s: 7.1.10 DXP FP13, 7.1.X
-
Component/s: Dynamic Data Mapping > Form Builder
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
In 7.1.x we are including dynamic-data-mapping-form-builder CSS in every page, causing performance issues because browsers has to download an unused CSS.
Important This issue is not reproduced in 7.2.x and master branches:
- It was solved during some refactors done in
LPS-93069andLPS-93163 - That LPS cannot be backported to 7.1.x
- More info see following commits: 54b9facafac8989a3307104184a982933bf5ec42 and 53dcbecdbaf7aea65ad07430e568e504bf7c2c15
Steps to reproduce
- Start Liferay bundle and open home page
- In browser, open page source code and search dynamic-data-mapping-form-builder/css/main.css
- Expected behavior: dynamic-data-mapping-form-builder CSS IS NOT found in source code
- Wrong behavior: dynamic-data-mapping-form-builder CSS IS found in source code
- Expected behavior: dynamic-data-mapping-form-builder CSS IS NOT found in source code
- Additional check: CSS should be displayed in Form Builder funcionality
- In the Navigation menu, go to Site => Content => Form
- Click in [+] button in order to create a Form.
- In browser, open page source code again and search dynamic-data-mapping-form-builder/css/main.css
- Expected behavior: dynamic-data-mapping-form-builder CSS IS found in source code
- Wrong behavior: dynamic-data-mapping-form-builder CSS IS NOT found in source code
- Expected behavior: dynamic-data-mapping-form-builder CSS IS found in source code