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

Web Content Permission Icon Listener disappearing or failing

    Details

    • What problem did the customer find?:
      Hide
      The problem is that, when you make multiple pages of Web Content and view them in list view in 6.2, sometimes clicking the Permissions link from a Web Content's drop-down menu will open the link instead of the dialog that is normally opened for that Permission link.
      Show
      The problem is that, when you make multiple pages of Web Content and view them in list view in 6.2, sometimes clicking the Permissions link from a Web Content's drop-down menu will open the link instead of the dialog that is normally opened for that Permission link.
    • What do you think is the root cause? (if known):
      It seems to me that the problem likely stems from the click function registered to the Permission icon being _forcePost instead of _useDialog (in icon.js).

      Description

      The problem is that, when you make multiple pages of Web Content (enough to paginate, so at least 6) and view them in list view in 6.2 and paginating, clicking the Permissions link from a Web Content's drop-down menu will open the link instead of the dialog that is normally opened for that Permission link. This behaviour is not always happening, only when you follow below steps:

      Steps to Reproduce
      1. Start 6.2.x.
      2. Create 10 Web Content. (although with 6 would be enough)
      3. Go to Site Administration -> Content -> Web Content and set the view to List View and show only 5 per page.
      4. Go to 'Actions' dropdown for the first row, and click on Pemissions. Modal window is opened. Close it.
      5. Go to the second page and follow the same steps than #4 for the same row, in this case the first one (It's important to do it for exactly the same row).

       Expected Result: The Dialog for Permissions appears

      Actual Result: Pemissions is opened in full page window.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                gregory.bretall Gregory Bretall (Inactive)
                Participants of an Issue:
                Recent user:
                Enterprise Release HU
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 39 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE