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

String labels related to blog comments are not being shown properly when deleting an entry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.6, 2.9
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Blog
    • Labels:
    • Testing Instructions:
      Hide
      1. As a logged on user, click on the user profile picture on the top right corner of the page.
      2. When the dropdown comes up, click on "Profile".
      3. Under Miscellaneous, click on "Blog entries"
      4. If there are no current blog entries listed, create a new one by clicking on "Add a new entry".
      5. Enter some text in the "Entry title" and "Blog entry body" then click "Save changes"
      6. On the "Blog entries" page, expand the "Comments" section of the previously created blog entry. See the placeholder text in the comment text area. Confirm that
        The placeholder text displays "Add a comment...".
      7. Enter text on the comment text area and click "Save comment". Check the "Comments" section header. Confirm that
        The label displays something like "Comments (n)", where n is the number of the posted comments on the blog entry.
      8. Click on the "Delete" link of the blog entry.
      9. On the delete page, expand the "Comments" section. See the placeholder text in the comment text area. Confirm that
        The placeholder text displays "Add a comment...".
      10. Enter text on the comment text area and click "Save comment". Check the "Comments" section header. Confirm that
        The label displays something like "Comments (n)", where n is the number of the posted comments on the blog entry.
      Show
      As a logged on user, click on the user profile picture on the top right corner of the page. When the dropdown comes up, click on "Profile". Under Miscellaneous, click on "Blog entries" If there are no current blog entries listed, create a new one by clicking on "Add a new entry". Enter some text in the "Entry title" and "Blog entry body" then click "Save changes" On the "Blog entries" page, expand the "Comments" section of the previously created blog entry. See the placeholder text in the comment text area. Confirm that The placeholder text displays "Add a comment...". Enter text on the comment text area and click "Save comment". Check the "Comments" section header. Confirm that The label displays something like "Comments (n)", where n is the number of the posted comments on the blog entry. Click on the "Delete" link of the blog entry. On the delete page, expand the "Comments" section. See the placeholder text in the comment text area. Confirm that The placeholder text displays "Add a comment...". Enter text on the comment text area and click "Save comment". Check the "Comments" section header. Confirm that The label displays something like "Comments (n)", where n is the number of the posted comments on the blog entry.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-51395-master

      Description

      When deleting a blog entry, the string labels for blog comment counts and comment text area placeholder are not being shown properly.

      Steps to reproduce:

      1. As a logged on user, click on the user profile picture on the top right corner of the page.
      2. When the dropdown comes up, click on "Profile".
      3. Under Miscellaneous, click on "Blog entries"
      4. If there are no current blog entries listed, create a new one by clicking on "Add a new entry". Enter some text in the "Entry title" and "Blog entry body" then click "Save changes"
      5. Back to the "Blog entries" page, click on the "Delete" link on a blog entry.
      6. On the delete page, expand the "Comments" section. See the placeholder text in the comment text area.
        The placeholder text displays [[addcomment,moodle]].
      7. Enter text on the comment text area and click "Save comment". Check the "Comments" section header.
        The label displays [[commentscount,moodle]]

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Nov/15