Actions
Bug #7436
closedUser import not importing field data
Description
Only core fields appear to be importing for some reason. Custom fields are not importing.
Actions
Added by krileon almost 6 years ago. Updated over 5 years ago.
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.
Fixed in MR !1451
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.
Fixed by using current logged in user object to determine available columns when importing a new row.