[Bug]: imports report success on (partial?) failure
bug
### Requirements
- [x] Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support or the [matrix chat](https://matrix.to/#/#lemmy:matrix.org).
- [x] Did you check to see if this issue already exists?
- [x] Is this only a single bug? Do not put multiple bugs in one issue.
- [x] Do you agree to follow the rules in our [Code of Conduct](https://join-lemmy.org/docs/code_of_conduct.html)?
- [x] Is this a backend issue? Use the [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) repo for UI / frontend issues.
### Summary
imports report success on (partial?) failure
### Steps to Reproduce
1. Export settings
2. Modify both your display name and bio in the export, make the display name at least 51 characters long
3. Import the modified settings
Expected:
Either a partial failure is reported, or a partial failure does not occur.
If any individual setting is valid, it is properly imported
Actual:
Success is reported
Valid bio is not imported
Display name is not imported, even though 51 characters is a perfectly reasonable display name length
### Technical Details
N/a
### Version
Nightly
### Lemmy Instance URL
Voyager
2 条评论