mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #56991
[Bug 1855609] Re: Export/import of users
The field "password" should only be required when "internal" auth is
selected. At other times, no internal Mahara password is needed. When
accounts have already been created with internal auth, it is OK to leave
the password out as people already have a password. That did work in the
past.
** Changed in: mahara
Importance: Undecided => Wishlist
** Changed in: mahara
Status: New => Confirmed
--
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/1855609
Title:
Export/import of users
Status in Mahara:
Confirmed
Bug description:
When I export users (select them in Users section of Administration
and then get report and from report page download CSV file) and try to
import them to another Mahara instance I get CSV file error.
This is probably due additional fields being exported even though they
are not selected/checked by default at report page.
The import of users work only when additional fields are deleted from
the CSV file and additional field "password" is added.
I believe the export shoud be changed so only selected fields would be
exported.
Tested this on Mahara 19.10, but encountered the same behaviour in
19.04 and earlier ...
Attached is the first version of export CSV file. When I tried to import users from that file I got the following errors:
- The field name "quotapercent_format" is invalid, or you have more fields than your header row specifies
- The field name "lastlogin" is invalid, or you have more fields than your header row specifies
- The field name "probation" is invalid, or you have more fields than your header row specifies
After that I also got:
- A required field "password" has not been specified in the format line
which is reasonable since the CSV file should contain passwords for new users.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1855609/+subscriptions
References