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

Option to unsubscribe from categories missing from Message Boards Home

Details

    Description

      When one of the categories listed on the Message Boards Home tab is already subscribed to, the context menu for that category still has the option to "Subscribe" rather than "Unsubscribe."

      This is due to the fact that category_action.jsp is using an old method of getting the list of subscribed categories, so there appear to be none.

      Steps to reproduce:

      1. Add a Message Boards portlet to a page
      2. Add a category to the Message Boards
      3. Click the category's context menu (the 3 vertical dots)
      4. Click "Subscribe"
      5. When the request completes, click the category's context menu again

      Expected result: option has changed to "Unsubscribe"
      Actual result: the menu still only has the option to "Subscribe"

      Attachments

        1. fixed.png
          fixed.png
          20 kB
        2. reproduced.png
          reproduced.png
          13 kB

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              alec.shay Alec Shay
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 50 weeks, 6 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP6
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.1.X
                  Master