Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

** Attachment added: "userdetailsstatistics.csv"
   
https://bugs.launchpad.net/bugs/1855609/+attachment/5310782/+files/userdetailsstatistics.csv

-- 
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:
  New

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to