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

dynamic-data-mapping-form-builder CSS should only be loaded when forms appear on the page

Details

    Description

      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:

      Steps to reproduce

      1. Start Liferay bundle and open home page
      2. 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
      3. Additional check: CSS should be displayed in Form Builder funcionality
      4. In the Navigation menu, go to Site => Content => Form
      5. Click in [+] button in order to create a Form.
      6. 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

      Attachments

        Issue Links

          Activity

            People

              harry.chai Harry Chai
              jorge.diaz Jorge Diaz
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 42 weeks, 6 days ago

                Packages

                  Version Package
                  7.1.10 DXP FP13
                  7.1.X