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

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

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-37792-master

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13