feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

User import not setting proper active status

Open okolvik-avento opened this issue 2 years ago • 2 comments

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

image image image

Steps to reproduce

  1. Import users
  2. Set status to "Use default value"
  3. Set default value to "Active"
  4. 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

okolvik-avento avatar Aug 28 '22 18:08 okolvik-avento

Seeing similar results with the same Craft and Feed Me versions

kylecotter avatar Sep 11 '22 03:09 kylecotter

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.

strandofgenius avatar Sep 12 '22 15:09 strandofgenius

Also experiencing this bug.

DTesch-Reem avatar Oct 27 '22 14:10 DTesch-Reem

Also experiencing this issue

ashcross avatar Oct 28 '22 00:10 ashcross

I am also experiencing the issue.

ogamacheInk avatar Dec 14 '22 19:12 ogamacheInk

same here

ryssbowh avatar Dec 16 '22 15:12 ryssbowh