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

Tag collection page showing tags modified a long time ago

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Tags
    • Labels:
    • Testing Instructions:
      Hide
      Test 1
      1. Create a course.
      2. Visit 'Course administration' > 'Question bank' > 'Questions'.
      3. Create a new question with some tags.
      4. Visit 'Site administration' > 'Appearance' > 'Manage tags'.
      5. Click on 'Default collection'.
      6. Edit one of the tags.
      7. Add a unique 'Related tag'.
      8. Ensure the 'Related tag' is now shown under the 'Default collection'.
      9. Ensure all tags have a time under the 'Modified' column that makes sense.
      10. Go back to the 'Manage tags' page.
      11. Create a new tag collection.
      12. Next to 'Questions' in 'Tag areas' change the 'Tag collection' to the one you just created.
      13. Click on the name of the tag collection you created.
      14. Check that the 'Modified' column shows an accurate time for all tags.
      Test 2
      1. Run the PHPUnit tests in tag/tests/taglib_test.php
      Test 3
      1. Run all @core_tag behat tests.
      Show
      Test 1 Create a course. Visit 'Course administration' > 'Question bank' > 'Questions'. Create a new question with some tags. Visit 'Site administration' > 'Appearance' > 'Manage tags'. Click on 'Default collection'. Edit one of the tags. Add a unique 'Related tag'. Ensure the 'Related tag' is now shown under the 'Default collection'. Ensure all tags have a time under the 'Modified' column that makes sense. Go back to the 'Manage tags' page. Create a new tag collection. Next to 'Questions' in 'Tag areas' change the 'Tag collection' to the one you just created. Click on the name of the tag collection you created. Check that the 'Modified' column shows an accurate time for all tags. Test 2 Run the PHPUnit tests in tag/tests/taglib_test.php Test 3 Run all @core_tag behat tests.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-54630_master

      Description

      This is because timemodified is set to 0 in the DB.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16