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

Unsubscribe button is displayed when user is already unsubscribed to comments and vice versa

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • Master
    • Master
    • Collaboration, Comments
    • None

    Description

      Steps to reproduce:

      1. Add DM portlet to page
      2. Add a document
      3. Add another user
      4. Login as new user
      5. View document

      Expected results: Subscribe button displays when user is unsubscribed. Clicking on the button will subscribe user to comments on that document.
      Actual results Unsubscribe button displays, hinting that user is already subscribed. User will not get any notifications if comments are added to this document. However, if the user clicks on this Unsubscribe button, it actually subscribes him because he will get the notifications regarding comments for that document. It will also change the button to Subscribe, which will give the impression that the user is unsubscribed.

      Reproduced on:
      Tomcat 9.0.7 + MySQL 5.7
      Portal master GIT ID: 6cea080d0b4fbee2a08e2736819cad732337b5f0

      Attachments

        Issue Links

          Activity

            People

              patricia.perez Patricia Perez
              patricia.perez Patricia Perez
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 2 weeks, 4 days ago

                Packages

                  Version Package
                  Master