When updating existing users, I would like for Feeds to adhere to the user status that I have set in the importer config.

For instance, I would like to import XML data containing user accounts that are to be blocked. I create a new importer, enable "Replace existing users" and set status to "Blocked". Currently, the user accounts' status is not updated.

Not sure if this is actually a bug, but to me the UI implies that what I want is a possibility, hence this bug report.

CommentFileSizeAuthor
#1 feeds_user-status_1929882_1.patch528 bytesachton

Comments

achton’s picture

StatusFileSize
new528 bytes

This one-line patch solves the issue.

With it, the user account status is updated according to the configuration.

achton’s picture

Status: Active » Needs review
twistor’s picture

Category: Bug report » Feature request
Issue summary: View changes
Status: Needs review » Needs work

The current behavior is designed.

This would be a larger feature request to solve correctly. We would need a way to select which properties are preserved and which aren't.

bluegeek9’s picture

Status: Needs work » Closed (outdated)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution!

Unfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.