Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23912

The comment count is not updated after deletion

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In a course, create a glossary with the option Allow comments on entries enabled.
      2. Add two glossary entries, then view the index of the glossary with all entries shown.
        • Each entry should have its own comment area underneath it.
      3. Add a comment to one of the entries.
        • You should see an animation as the comment fades in.
        • Verify that the count of comments on that entry has changed accordingly.
      4. Delete the comment.
        • You see an animation where the comment disappears.
        • Verify that the count of comments on that entry has changed accordingly.
      5. Add two comments to the entry you didn't add comments to, as well as one comment on the entry you did.
        • Verify that the comment counts are changing properly.
      6. Refresh the page.
        • Verify that the comment counts are still correct.
      Show
      In a course, create a glossary with the option Allow comments on entries enabled. Add two glossary entries, then view the index of the glossary with all entries shown. Each entry should have its own comment area underneath it. Add a comment to one of the entries. You should see an animation as the comment fades in. Verify that the count of comments on that entry has changed accordingly. Delete the comment. You see an animation where the comment disappears. Verify that the count of comments on that entry has changed accordingly. Add two comments to the entry you didn't add comments to, as well as one comment on the entry you did. Verify that the comment counts are changing properly. Refresh the page. Verify that the comment counts are still correct.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-23912-master
    • Sprint:
      FRONTEND Sprint 15

      Description

      When you delete a comment, the comment count is not updated.
      Close the comment collapsible region and open it again => it gets updated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jethac Jetha Chan
              Reporter:
              jerome Jérôme Mouneyrac
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Sam Hemelryk
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Jan/15