[BUG] Restore Config Fails Without "admin" User #5512
Labels
bug
Something isn't working
Fix-Commited
Issue fixed and will be available in milestone
Internal-Issue-Created
An issue has been created in NextGen's internal issue tracker
RS-9222
triaged
Milestone
Describe the bug
When the Server Restore Config fails, we are shown an error message that says "Error restoring server configuration." but parts of the Server Restore Config did successfully restore. The error message seems to imply that the entire restore failed. For a specific part of the restore, if it fails, you may get an error message like the following, "Error restoring plugin properties.". It'd be more helpful if the error message described more details on what and why it failed, e.g. plugin name and what specific thing failed.
To Reproduce
Setup steps (if required).
Steps to reproduce the behavior:
Expected behavior
Should still restore all of the configuration except for the user roles; the server log will indicate which specific part of the configuration restore errored while the pop-up dialog box will notify the user of a partial configuration restore and point the user to the server log for more information. The Server Log will also include more detailed error message about which specific part of the restore failed.
Actual behavior
The restore of the configuration happens for all parts except for the user roles but the error messages we get are ambiguous.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Workaround(s)
Keep admin user and restore config
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: