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

Duplicates 'Current category' text in edit question form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.4, 3.10.1, 4.0
    • Fix Version/s: 3.9.8, 3.10.5
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Setup

      • Create a course.
      • Create a new question category inside the course:
        • Go to Actions menu > More.
        • Click on Question bank > Categories.
        • In the "Add category" section fill in "Name" with the value "New category".
        • Click on the "Add category" button.

      Testing instructions:

      1. Create a question in question bank under the new category:
        • Click the "Questions" tab.
        • Click on the "Create a new question ..." button.
        • Select "True/False".
        • Fill the "Question name" and "Question text" fields with any values.
        • Click on the "Save changes" button.
      2. Edit the new question.
      3. Confirm the text "Current category" is not duplicated.
      Show
      Setup Create a course. Create a new question category inside the course: Go to Actions menu > More. Click on Question bank > Categories. In the "Add category" section fill in "Name" with the value "New category". Click on the "Add category" button. Testing instructions: Create a question in question bank under the new category: Click the "Questions" tab. Click on the "Create a new question ..." button. Select "True/False". Fill the "Question name" and "Question text" fields with any values. Click on the "Save changes" button. Edit the new question. Confirm the text "Current category" is not duplicated.
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_310_STABLE, MOODLE_39_STABLE
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-71060-310
    • Pull Master Branch:
      MDL-71060-master

      Description

      Step to reproduce: 

      1. Create a question in question bank under a category.
      2. Edit question above.
      3. Look at the screenshot below:


      Current: 

      The 'Current category' text is duplicated

      Expected:

      Remove the duplicated 'Current category' text

        Attachments

        1. fix-mockup.png
          fix-mockup.png
          4 kB
        2. MDL-71060.jpg
          MDL-71060.jpg
          10 kB
        3. mock-up with subcategory.png
          mock-up with subcategory.png
          4 kB

          Activity

            People

            Assignee:
            jbthong Thong Bui
            Reporter:
            tiennguyenphuc Tien Nguyen
            Peer reviewer:
            Tim Hunt Tim Hunt
            Integrator:
            Víctor Déniz Falcón Víctor Déniz Falcón
            Tester:
            Anna Carissa Sadia Anna Carissa Sadia
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Jul/21

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m