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

Moving categories to another context using the arrows does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.5, 2.2.2, 2.2.6, 2.3.3, 2.4
    • Fix Version/s: 2.2.7, 2.3.4, 2.4.1
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      1. Select Question bank
      2. Select Categories in Question bank
      3. Make sure you have at least two categories sitting under any top-level context to continue testing
      4. Categories at the top level sitting at the top or bottom of a given context should have either up/down arrow icon that can be clicked.
      5. Before you click it, make sure that at least one question in that category has an image somewhere, for example in the question text.
      6. Clicking the up/down arrow moves the category across to a new context.
      7. Verify that the question image is not broken.
      8. Now try moving that category, or another one, back the other way.
      9. Try some other category editing actions, just to verify that there are no regressions.

      Note:
      A context must have at least one category, so the up/down arrows wont appear in this case.

      Show
      1. Select Question bank 2. Select Categories in Question bank 3. Make sure you have at least two categories sitting under any top-level context to continue testing 4. Categories at the top level sitting at the top or bottom of a given context should have either up/down arrow icon that can be clicked. 5. Before you click it, make sure that at least one question in that category has an image somewhere, for example in the question text. 6. Clicking the up/down arrow moves the category across to a new context. 7. Verify that the question image is not broken. 8. Now try moving that category, or another one, back the other way. 9. Try some other category editing actions, just to verify that there are no regressions. Note: A context must have at least one category, so the up/down arrows wont appear in this case.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      1. Go to Question bank -> Categories in the settings block for any Quiz.

      2. If there is only one category in the course context, add a new category with parent Course ... -> Top.

      3. There should now be an 'up' arrow beside the first category under "Question categories for 'Course: ...'"

      4. Click that up arrow. The category should move so that it is now in the "Question categories for 'Quiz: ...'" area.

      At the moment, when you click the up arrow, nothing happens (the page just reloads).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/Jan/13