-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.7.8, 3.8.5, 3.9.2
-
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.
- duplicates
-
MDL-75809 Custom field Select type messes values if list order changed
-
- Waiting for peer review
-
- has a non-specific relationship to
-
MDL-69526 Custom field values in course overview block follow incorrect order
-
- Closed
-
- is duplicated by
-
MDL-72320 Course custom field dropdown options can easily be messed up
-
- Closed
-