Bug #7436
closed
User import not importing field data
Added by krileon over 5 years ago.
Updated about 5 years ago.
Start date:
23 January 2019
Description
Only core fields appear to be importing for some reason. Custom fields are not importing.
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.
I don't think this column check is even necessary. Just remove it.
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
- 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.
- Status changed from Assigned to Resolved
- % Done changed from 80 to 100
Fixed by using current logged in user object to determine available columns when importing a new row.
- Status changed from Resolved to Closed
Also available in: Atom
PDF