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

Questions/Answers approved with moderation workflow get back to pending status

    Details

      Description

      Steps to reproduce:

      1. Create a site with a page containing the Questions widget
      2. Add users Q and A and add them to the site
      3. Assign role Content Reviewer to user A for the site 
      4. Add more than 5 questions as user A
      5. Add a question as user Q
      6. Go to Instance Settings > Message Boards and enable Moderation with a threshold of 5
      7. Answer the question created by Q as user A
      8. Assert that the answer of A is not in pending status, as this user's contributions are above the moderation threshold
      9. As user Q, mark the question created by user A as "Chosen Answer"

      Expected behavior: The answer shows as approved

      Current behavior: The answer shows as pending. 

      Technical details: Mark the answer as chosen counts as an update by user Q, which is subject to moderation. In this case (the question owner marks an approved answer) we should skip moderation. 

        Attachments

          Activity

            People

            Assignee:
            eduardo.garcia Eduardo García
            Reporter:
            eduardo.garcia Eduardo García
            Participants of an Issue:
            Recent user:
            Javier de Arcos Velilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              11 weeks, 4 days ago

                Packages

                Version Package