← Back to team overview

mahara-contributors team mailing list archive

[Bug 1474638] Re: Display name from Leap2a import overwrites local display name even if you choose "ignore"

 

To replicate:

1. Create two users, "User1", and "User2".
2. Set their displaynames to "user1" and "user2"
3. Do a full-portfolio leap2a export of User1
4. Log in as User2, and import the generated leap2a file into your account
5. In the interactive import step, set "Display name" to "Ignore"
6. Finish the import
7. View your displayname on the "Content -> Profile" page and on the "Logged-in Users" sideblock

Expected result: You should see "user2" in the displayname field of
"Content -> Profile" and in the "Logged-in users" sideblock

Actual result: You see "user2" in the displayname field of
"Content->Profile", but you see "user1" in the "Logged-in users"
sideblock

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1474638

Title:
  Display name from Leap2a import overwrites local display name even if
  you choose "ignore"

Status in Mahara:
  In Progress
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

Bug description:
  This issue was reported by Kwantlen Polytechnic University.

  The problem is that if you export a full portfolio to Leap2a, and then
  you import it, and you choose to "ignore" the displayname, it still
  overwrites your local displayname. At least, in some places.

  This also happens for other profile fields as well. The problem is
  that these are all "cached" artefacts, where their value is stored as
  an artefact, and is also stored as a column in the "usr" table for
  quick access. The import code is correctly updating or ignoring the
  artefacts, but is incorrectly updating the usr table. Hence you see
  your old values when you go to "Content -> Profile" but you see the
  new value in the "Logged-in Users" sideblock.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1474638/+subscriptions


References