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

Undefined property suspended_attribute

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites

      An LDAP server with at least one user.

      Unfortunately since MDL-52386 was integrated, we need to revert it. As this issue only occurs when you set up LDAP and create users before the suspended_attribute was added. It would probably be prudent to do steps 1-5 before applying the patch from this issue too.

      1. Revert 6141dcfe: git revert 6141dcfe
        • There will be a conflict, just delete everything from HEAD
      2. Set up LDAP ("Site administration" > "Plugins" > "Authentication" > "Manage authentication")
      3. Run the LDAP synchronisation script:

        php admin/tool/task/cli/schedule_task.php --execute=\\auth_ldap\\task\\sync_task

      4. Verify there are no errors.
      5. Undo the reverted commit, and apply the patch from this issue (if it hasn't already been applied).
      6. Log in as one of the LDAP users.
      7. Verify there are no errors.
      Show
      Prerequisites An LDAP server with at least one user. Unfortunately since MDL-52386 was integrated, we need to revert it. As this issue only occurs when you set up LDAP and create users before the suspended_attribute was added. It would probably be prudent to do steps 1-5 before applying the patch from this issue too. Revert 6141dcfe: git revert 6141dcfe There will be a conflict, just delete everything from HEAD Set up LDAP ("Site administration" > "Plugins" > "Authentication" > "Manage authentication") Run the LDAP synchronisation script: php admin/tool/task/cli/schedule_task.php --execute=\\auth_ldap\\task\\sync_task Verify there are no errors. Undo the reverted commit, and apply the patch from this issue (if it hasn't already been applied). Log in as one of the LDAP users. Verify there are no errors.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-53580-master

      Description

      Notice: Undefined property: stdClass::$suspended_attribute in /$dirroot/auth/ldap/auth.php on line 1515

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16