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

Userid in comment is not adapted to new userid when restoring database with userentrys to another plattform

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8.13, 1.9.9
    • Fix Version/s: 1.8.14, 1.9.10
    • Labels:
      None
    • Environment:
      mysql 5.0.67 php 5.2.13
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      I copy a Database with userdata (and users) to another Moodle Installation. The new Users are created and the usersid's from the records are changed to the new userids. The userid of the comments is just copied to the table 'mdl_data_comment' and because of that when I look at the comment a different persons appear as if he/she has written the comment. That's because they have the userid of the people on the the first installation.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Oct/10