feed-me
feed-me copied to clipboard
User import not setting proper active status
Description
Imported users does not get activated when setting status to "Active". "Suspended" works. Active is never set to true on the record. https://github.com/craftcms/feed-me/blob/6b6db24351da93053a93a2139c25087f91db9307/src/elements/User.php#L127
Active is false by default in CraftCMS 4: https://github.com/craftcms/cms/blob/7e36cef6b5b76fa39995721f74cd5854838cf81f/src/elements/User.php#L576
Steps to reproduce
- Import users
- Set status to "Use default value"
- Set default value to "Active"
- Run feed
Additional info
- Craft version: 4.2.3
- PHP version: 8.0
- Database driver & version: mysql (MariaDB 10.3.34)
- Plugins & versions:
- Feed-me 5.0.4
Seeing similar results with the same Craft and Feed Me versions
I am also seeing something similar when trying to update entries. The status is switched to disabled even though "published" is selected and a default option of Enabled.
Also experiencing this bug.
Also experiencing this issue
I am also experiencing the issue.
same here