Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73342 Using bad portlet id in destroy phases
  3. LPS-72761

Front End shows "Add toolbar is available. Press ALT+F10 to focus" when removing control menu and using liferay-ddm:html taglib

    Details

      Description

      Reproduction steps:

      1) Start a Master bundle and login as Admin
      2) Create an empty theme with the Themes Generator, the only change that has to be performed is, on the portal_normal.ftl to remove the line #21:

      <@liferay.control_menu />

      As I see at https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/customizing-the-control-menu, this seems a valid step

      3) Build and deploy such theme and create a new page called /page2
      --> Sample theme is attached

      4) In the Site Administration panel, create a new Dynamic Data List definition having only a HTML field
      5) Add a Dynamic Data Lists Display portlet and add a new DDL Record having the definition created at previous step. Apply the theme created to /page2
      6) Before adding, observe the Page: the Control Menu is hidden, no other information or messages are showing
      7) Add the DDL Record, this will be added properly. Observe the interface:

      Expected: Same result as step 6)
      Actual result: A message on the top will appear: "Add toolbar is available. Press ALT+F10 to focus." (see screenshot message1.png)

        
      *The root of this issue, that the helper content is stayed in the body element after we navigate away, is reproducible without custom theme as well.
      Please check the attached LPS-72761.gif. You will see that SPA is not able to delete the unneeded helper contents*

      Simpler Reproduction steps:

      1. Add the following properties to your portal-ext.properties:

         com.liferay.portal.servlet.filters.strip.StripFilter=false
         javascript.fast.load=false
      

      2. Start a Master bundle and login as Admin
      3. In the Site Administration panel, create a new Dynamic Data List definition having only a HTML field
      4. Add a Dynamic Data Lists Display portlet and select the previously created list.
      5. Add a new DDL Record having the definition created at previous step but don't save or publish it.
      6. If you open the current browser's development tool(F12) and check Elements tab(Chrome) you will see that the body element contains div elements with "ae-ui" and "ae-sr-only" classes.
      7. Click on the Cancel button.

      Expected: These div elements which mentioned above need to be deleted.
      Actual result: These div elements won't be deleted.

        Attachments

        1. lpp-theme.war
          2.22 MB
        2. LPS-72761.gif
          LPS-72761.gif
          3.79 MB
        3. LPS-72761.png
          LPS-72761.png
          157 kB
        4. message1.png
          message1.png
          173 kB

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                zsolt.szabo Zsolt Szabo (Inactive)
                Recent user:
                Csaba Turcsan
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 18 weeks, 1 day ago

                  Packages

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