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

Bug in user profile field conditions with default values.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3.1
    • Restrict access
    • MOODLE_23_STABLE

      To reproduce:

      • Log in as an admin
      • Create a new Menu profile field with the following details:
        • Shortname: favouritecolour
        • Name: What is your favourite colour?
        • Required: Yes
        • Display on signup page: Yes
        • Options: Undecided, Red, Green, Blue, Yellow, Orange, Pink, Purple, Magenta, Cyan, Turquoise, Brown
        • Default: Undecided
      • Browse to a course
      • Add a forum activity called what ever you want and add the following condition:
        • User field: What is your favourite colour?
        • doesn't contain
        • Undecided
      • Save the forum and log out.
      • Log in as a student of the course.
      • Browse to the course.
      • Confirm: The activity is shown as available.
      • Go to the page to edit your profile
      • Click the save button without making any changes
      • Browse back to the course.
      • Confirm: The activity is now shown as greyed out.

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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