- Issue created by @danstorm
I attempted to uninstall user_bundle locally to ensure it was a safe operation.
The new bundle was sharing the field `user_picture` with the standard user config. During the uninstall, all user_picture data was lost. Luckily this was just my local database that was trashed, could have been a lot worse.
1. add a user bundle after module activation
2. give the new bundle the user_picture field
3. uninstall user_bundle
4. verify user_picture db table has been deleted
this issue https://www.drupal.org/project/user_bundle/issues/2980283 → mentions
"It also may make sense, if possible, to move any fields on other user bundles to the standard "user" bundle so they're preserved. That way there's no data loss on uninstall - you're just back to the stock bundle-less experience where all fields sit on the one and only user type."
This seems like a better approach, manually deleting unwanted fields before or after uninstall would be trivial compared to losing data or restoring from backup. Maybe a note in the readme about the expected uninstall behavior would be helpful.
Active
1.2
Code