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.

Files: 
CommentFileSizeAuthor
#1 feeds_user-status_1929882_1.patch528 bytesachton
PASSED: [[SimpleTest]]: [MySQL] 4,355 pass(es). View

Comments

achton’s picture

FileSize
528 bytes
PASSED: [[SimpleTest]]: [MySQL] 4,355 pass(es). View

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.