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

Method create_user_record() @ "/lib/moodlelib.php" that could be used from External Database Authentication plugins, does not register mdl_user->timecreated property.

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      Enable the auth/db plugin, create some users into this external database and try to login with it. Then you will see his timecreated property will not be registered to the database.

      Repeat with timemodified after changing user info in external database.

      Show
      Enable the auth/db plugin, create some users into this external database and try to login with it. Then you will see his timecreated property will not be registered to the database. Repeat with timemodified after changing user info in external database.
    • Workaround:
      Hide

      The included patch.diff file sets the timecreated and the timemodified as the same time value, as this property is registered in the "/user/editadvanced.php".

      Show
      The included patch.diff file sets the timecreated and the timemodified as the same time value, as this property is registered in the "/user/editadvanced.php".
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w02_MDL-30717_m23_usercreated

      Description

      Method create_user_record() @ "/lib/moodlelib.php" that could be used from External Database Authentication plugins, on authenticate_user_login() method (from the same file) does not register mdl_user->timecreated property. This method authenticate_user_login() is called from "/login/index.php".

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12