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

Conditional Resource based on Profile Interest with a non-existant string

XMLWordPrintable

    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • MDL-37792-master
    • Hide

      0. Ensure that conditional availability is enabled in server settings.
      1. Edit any activity.
      2. Find the part of the form about user conditions.
      3. Look at the first dropdown in 'User field'.

      Verify that, although a number of user fields are listed, 'Interests' is not one of them.

      Show
      0. Ensure that conditional availability is enabled in server settings. 1. Edit any activity. 2. Find the part of the form about user conditions. 3. Look at the first dropdown in 'User field'. Verify that, although a number of user fields are listed, 'Interests' is not one of them.

      Created a conditional activity 'Label' and set it to only be visible to users who had put a particular string into their Interests field in their User Profile.

      There were no users who had that string in the field.

      This created a nasty loop where I could not refresh or move onto another page without the error message popping up.

      Unfortunately I was not smart enough to grab a screen shot before I reverted to a nice fresh install of Moodle.

      I'm guessing for those who have a backup, if this happens a back up to something prior to creating this logic loop would work.

      Better would be to have Moodle not enact the condition until the condition was met.

            quen Sam Marshall
            sooziebea Susannah Brown
            Frédéric Massart Frédéric Massart
            Damyon Wiese Damyon Wiese
            David Monllaó David Monllaó
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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