Bulk import doesn't retain user details correctly

Bug #1843149 reported by Kristina Hoeppner on 2019-09-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Status tracked in 19.10
19.04
High
Unassigned
19.10
High
Unassigned

Bug Description

This was reported at https://mahara.org/interaction/forum/topic.php?id=8502

I can confirm it with a bulk export from account on demo.mahara.org (attached).

For details, see the forum post.

To replicate:

Have 2 or more accounts that have files and portfolio pages, e.g. from demo.mahara.org

1. Use the bulk export to export the accounts.
2. On another Mahara site, use the bulk import to import the acocunts.
Expected result: The accounts are transferred and set up as they were on the original site.

Actual result: Everybody has the same name and profile pictures are not displayed even when the accounts had some. While email addresses were shown in the site admin area Admin menu -> People -> User search, no primary email address was shown on the accounts settings page and when logging in, an email validation was to be sent.

Still to be tested on 18.10 and 18.04 if it's an issue there as well.

description: updated
description: updated

For testing on Ubuntu, it's best to put the exported Leap2A file into "Downloads" and then find the path from there.

tags: added: regression
Steven (stevens-q) wrote :

Commit hash: b8f0d8fb7a9b0ced1f1453b94ec6a0578edb7719
Environment tested: Master
Browser tested: Chrome
Theme used: Raw

PRECONDITIONS:
------------------------
1) Have 2 or more accounts that have files and portfolio pages, e.g. from demo.mahara.org (see file attached in comment 1 - mahara-bulk-leap2.zip )

TEST STEPS:
------------------------
1) On demo.mahara.org use the bulk export to export the accounts. /admin/users/bulkexport.php and export the accounts of 3 users
2) On testing Mahara site with patch, use the bulk import to import the acocunts. /admin/users/bulkimport.php of the 3 users
3) Verify the accounts are transferred and set up as they were on the original site.

Catalyst QA Approved ✔

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers