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

Duplicates 'Current category' text in edit question form

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.4, 3.10.1, 4.0
    • 3.9.8, 3.10.5
    • Questions
    • MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-71060-master
    • 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.

    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

            jbthong Thong Bui
            tiennguyenphuc Tien Nguyen
            Tim Hunt Tim Hunt
            Victor Déniz Falcón Victor Déniz Falcón
            Anna Carissa Sadia Anna Carissa Sadia
            Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              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