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

The comments table should contain the component

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.9
    • 2.0.3
    • Comments
    • MOODLE_20_STABLE
    • MOODLE_29_STABLE
    • 27548-29
    • Hide

      Test upgrade.

      Before upgrade:

      1. Log in as admin
      2. Browse to a course and add a comments block.
      3. Log in as a student
      4. Make several comments.

      After upgrade:

      1. Log in as the student again
      2. Browse back to the course.
      3. Check that you comments are still shown there correctly.

      Area testing.

      Manually test (using a couple of users):

      • Assignment module submission comments and feedback comments
      • Comments block
      • Disable JavaScript and test test the comments block again
      • Blog entry comments
      • Comment on database entries (turn on Allow comments on entries)
      • Comment on glossary entries (turn on Allow comments on entries)
      • Comment on a wiki page.

      After all your manual testing inspect the comments table in your database and check all of the comments you added have the component set.

      Behat cover this area

      Run behat tests on:

      • @block_comments
      • @core_blog
      • @mod_assign
      Show
      Test upgrade. Before upgrade: Log in as admin Browse to a course and add a comments block. Log in as a student Make several comments. After upgrade: Log in as the student again Browse back to the course. Check that you comments are still shown there correctly. Area testing. Manually test (using a couple of users): Assignment module submission comments and feedback comments Comments block Disable JavaScript and test test the comments block again Blog entry comments Comment on database entries (turn on Allow comments on entries) Comment on glossary entries (turn on Allow comments on entries) Comment on a wiki page. After all your manual testing inspect the comments table in your database and check all of the comments you added have the component set. Behat cover this area Run behat tests on: @block_comments @core_blog @mod_assign

      The component is now required within comments API however it is not presently being stored in the database.
      This should really happen as ratings stores its component in the database and having it there ensure that comment objects are complete when loaded from the database and allows use to improve our SQL by selecting upon that as well.

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.