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

Course dropdown shown twice in clean

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.4
    • Calendar
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59974-master
    • Hide
      1. Test on clean and boost themes.
      2. Log in as admin.
      3. Make sure you have at least 2 courses, with two groups on each course:
        • Course 1 (Group A, Group B)
        • Course 2 (Group C, Group D)
      4. Go to calendar and click New event button.
      5. Make sure you do not see two course select elements.
      6. Select Group on Type of event field.
      7. Make sure you see just one course select and one group select.
      8. Select Course 1 on Course field
      9. Make sure you see the correct groups for Course 1: Group A, Group B
      10. Select Course 2 on Course field
      11. Make sure you see the correct groups for Course 2: Group C, Group D
      Show
      Test on clean and boost themes. Log in as admin. Make sure you have at least 2 courses, with two groups on each course: Course 1 (Group A, Group B) Course 2 (Group C, Group D) Go to calendar and click New event button. Make sure you do not see two course select elements. Select Group on Type of event field. Make sure you see just one course select and one group select . Select Course 1 on Course field Make sure you see the correct groups for Course 1 : Group A, Group B Select Course 2 on Course field Make sure you see the correct groups for Course 2 : Group C, Group D

    Description

      See attached screenshot.

      If I am enrolled in a course with a group
      When I click on New Event

      I currently see two Course select boxes.

      Potential solution is to use the new hideIf syntax that was recently introduced to formslib.

      This issue only affects clean.

      Attachments

        Activity

          People

            lameze Simey Lameze
            dobedobedoh Andrew Lyons
            Ryan Wyllie Ryan Wyllie
            David Monllaó David Monllaó
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Nov/17