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

Configuration button is not shown in a custom fragment

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.2.10.1 DXP SP1, 7.2.10 DXP FP3, 7.2.10 DXP FP4, Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3
    • OS:
      Debian 9, Windows 10
    • JDK:
      Oracle Sun JDK 8, Oracle Sun JDK 11
    • Application Servers:
      Apache Tomcat 9.0.x
    • Browsers:
      Chrome (latest)
    • Databases:
      MariaDB 10.2, MySQL 5.5
    • Device Type:
      Desktop

      Description

      When a section fragment has configuration set and the section's background image can be changed  using the tag attribute "data-lfr-background-image-id", when you're editing, configuration icon is not shown.

      Steps to reproduce:

      1. **Create a new section fragment
      2. Set configuration params:
        • {"fieldSets": [{"fields": [\{"name": "textColor","label": "Text color","type": "colorPalette","dataType": "object","defaultValue": {"cssClass": "white","rgbValue": "rgb(255,255,255)"}}]}]}
      3. Set attribute data-lfr-background-image-id in the main layer
        • <div class="main-layer" class="text-${configuration.textColor.cssClass}"
          data-lfr-background-image-id="main-layer">Some Stuff</div>
      4. Save it
      5. Go to a Content Page (create it if needed) and edit it
      6. Drop the created fragment in the page and click on it
      7. Only edit icon is shown (cofig icon missing)

      Expected result:

      **The configuration icon must be shown

      Actual result:

      The cog icon isn't shown

      Workaround:

      If you go to "Page Structure" and click on created section, the cog is shown and it works fine.

       

        Attachments

          Activity

            People

            Assignee:
            juan.anton Juan Anton
            Reporter:
            martin.dominguez Martín Domínguez
            Participants of an Issue:
            Recent user:
            Juan Anton
            Engineering Assignee:
            Juan Anton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 12 weeks, 3 days ago

                Packages

                Version Package