Moodle QA
  1. Moodle QA
  2. MDLQA-1190 Moodle 2.2 QA
  3. MDLQA-1303

CLONE - A teacher can set the number of course sections and the course start date

    Details

    • Type: Functional Test Functional Test
    • Status: Passed
    • Affects Version/s: Moodle 2.2
    • Fix Version/s: Moodle 2.2
    • Component/s: Course, Teacher
    • Labels:
      None

      Description

      1. Login as a teacher, access a course then in the settings, set the course format to weekly, the number of weeks/topics to 5 and set a course start date in the past.
      2. Check that 5 sections are displayed on the course page (in addition to the section containing the news forum) and that the first week begins with the course start date.
      3. Check that the section for the current week is highlighted.
      4. Go to a course which contains activities in at least 3 course sections.
      5. Edit the course settings and set the number of weeks/topics to 2.
      6. Go to the course page and turn editing on.
      7. Check that the third any any subsequent course sections which contain activities are displayed with the title 'Orphaned activities'.
      8. Turn editing off and check that the sections titled 'Orphaned activities' are now no longer shown.

        Activity

        Anonymous created issue -
        Martin Dougiamas made changes -
        Field Original Value New Value
        Affects Version/s Moodle 2.2 [ 10392 ]
        Affects Version/s Master copy - DO NOT REPORT TEST RESULTS HERE [ 10423 ]
        Fix Version/s Moodle 2.2 [ 10392 ]
        Ankit Agarwal made changes -
        Assignee Nobody [ nobody ] Ankit Agarwal [ ankit_frenz ]
        Hide
        Ankit Agarwal added a comment -

        When there is an existing course with say 10 weeks
        Each week has some activities in it and we change the number of weeks from 10 to 5, we end up with lots of "Orphan activities".
        Is this expected behavior?

        Show
        Ankit Agarwal added a comment - When there is an existing course with say 10 weeks Each week has some activities in it and we change the number of weeks from 10 to 5, we end up with lots of "Orphan activities". Is this expected behavior?
        Hide
        Helen Foster added a comment -

        Yes, the orphaned activities are only shown when editing is turned on. I'll include this in the QA test...

        Show
        Helen Foster added a comment - Yes, the orphaned activities are only shown when editing is turned on. I'll include this in the QA test...
        Hide
        Ankit Agarwal added a comment -

        Okay great!
        Passing this than
        Thanks!

        Show
        Ankit Agarwal added a comment - Okay great! Passing this than Thanks!
        Ankit Agarwal made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Passed [ 10000 ]
        Helen Foster made changes -
        Description 1. Login as a teacher, access a course then in the settings, set the course format to weekly, the number of weeks/topics to 5 and set a course start date in the past.
        2. Check that 5 sections are displayed on the course page (in addition to the section containing the news forum) and that the first week begins with the course start date.
        3. Check that the section for the current week is highlighted.
        1. Login as a teacher, access a course then in the settings, set the course format to weekly, the number of weeks/topics to 5 and set a course start date in the past.
        2. Check that 5 sections are displayed on the course page (in addition to the section containing the news forum) and that the first week begins with the course start date.
        3. Check that the section for the current week is highlighted.
        4. Go to a course which contains activities in at least 3 course sections.
        5. Edit the course settings and set the number of weeks/topics to 2.
        6. Go to the course page and turn editing on.
        7. Check that the third any any subsequent course sections which contain activities are displayed with the title 'Orphaned activities'.
        8. Turn editing off and check that the sections titled 'Orphaned activities' are now no longer shown.
        Component/s Course [ 11738 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: