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

Options in Dropdown menu under course custom field change when inserting a new option between existing options.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.7.8, 3.8.5, 3.9.2
    • Course
    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      When inserting a new option in dropdown menu before the last option, courses changes values in the dropdown menu custom field.When inserting a new option in dropdown menu before the last option, courses changes values in the dropdown menu custom field.

      1. Go to /course/customfield.php
      2. Click the button "Add a new category"
      3. Click "Add a new custom field" in "Other fields".
      4. Select "Dropdown menu".
      5. Give it a name and short name.
          5.1 Give it a name "Test 1".
          5.2 Give it a short name "test_1".
      6. Add two items in "Menu options" under "Dropdown menu field settings".
          6.1 Add "Option 1" and "Option 2".
      7. Save changes.
      8. Go to /course
      9. Click "Add a new course".
      10. Give it a full name and short name.
          10.1 Give it full name "Test course 1"
          10.2 Give it short name "Test course 1"
      11. Expand section "Other fields".
      12. Select "Option 2" in "Test 1" dropdown menu.
      13. Save and return.
      14. Go back to /course/customfield.php
      15. Edit "Test 1" custom field.
      16. Add new value to the "Menu options" between "Option 1" and "Option 2".
          16.1 Name it "Option 3".
      17. Save changes.
      18. Go back to /course
      19. Search for "Test course 1" and go to the course that you created.
      20. Click the cogwheel and select "Edit settings".
      21. Expand section "Other fields".
      22. Dropdown menu is now set to "Option 3" and not the "Option 2" as expected.

            Unassigned Unassigned
            smo@praxis.dk Sam Møller
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.