Project

General

Profile

Bug #7436

User import not importing field data

Added by krileon over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
23 January 2019
Due date:
% Done:

100%

Estimated time:

Description

Only core fields appear to be importing for some reason. Custom fields are not importing.

History

#2 Updated by krileon over 1 year ago

It's due to the empty user object not having the fields initialized so they don't exist with calling get_object_vars on the object.

#3 Updated by krileon over 1 year ago

I don't think this column check is even necessary. Just remove it.

#4 Updated by krileon over 1 year ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1451

#5 Updated by krileon over 1 year ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 80

The import will fail and error if it tries to import something that doesn't exist when in that case we'll just want to skip over that data.

#6 Updated by krileon over 1 year ago

  • Status changed from Assigned to Resolved
  • % Done changed from 80 to 100

#7 Updated by krileon over 1 year ago

Fixed by using current logged in user object to determine available columns when importing a new row.

#8 Updated by beat over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF