Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User import not setting proper active status #1182

Closed
okolvik-avento opened this issue Aug 28, 2022 · 6 comments · Fixed by #1214
Closed

User import not setting proper active status #1182

okolvik-avento opened this issue Aug 28, 2022 · 6 comments · Fixed by #1214
Assignees
Labels

Comments

@okolvik-avento
Copy link

okolvik-avento commented Aug 28, 2022

Description

Imported users does not get activated when setting status to "Active". "Suspended" works.
Active is never set to true on the record.

public function afterSave($data, $settings): void

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 okolvik-avento changed the title User import not setting proper status User import not setting proper active status Aug 28, 2022
@kylecotter
Copy link

Seeing similar results with the same Craft and Feed Me versions

@strandofgenius
Copy link

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.

@DTesch-Reem
Copy link

Also experiencing this bug.

@ashcross
Copy link

Also experiencing this issue

@ogamacheInk
Copy link

I am also experiencing the issue.

@ryssbowh
Copy link

same here

This was referenced Jan 5, 2023
@brianjhanson brianjhanson self-assigned this Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants