Download & Extend

User status disregarded when updating users

Project:Feeds
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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.

Comments

#1

This one-line patch solves the issue.

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

AttachmentSizeStatusTest resultOperations
feeds_user-status_1929882_1.patch528 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 4,355 pass(es).View details | Re-test

#2

Status:active» needs review