It's easy to see this when attempting to export App configurations:
The error is most likely due to the length of the password provided, but the message gives no clue of this.
There are also sometimes permission limitations — e.g., a non-admin can't export them at all. Even if you give a good password, you might see this appear in the logs:
[19/07/23 17:59:28:754 UTC] INFO util.SecurityLogger: class com.dotcms.rest.api.v1.authentication.ResponseUtil : Only Admins are allowed to perform an export operation. -- ip:###.###.###.###,user:XXXXXXX [ID: X][email:X.X@X.com]
But, again, no sign of it on the UI. We should change that!
Steps to Reproduce
Hop on to Demo
Go to Settings -> Apps
Attempt to export all app configurations
Open browser Dev Tools and browse to the Network tab to monitor the API calls
Set a password of <14 (or >32) characters in length and attempt to export
See error as pictured above
See Error message under the failed export call
Similarly: "Login As" a non-admin, and repeat the above steps with an appropriate-length password
Acceptance Criteria
The error messages in the UI should be clearer as to what went wrong.
Problem Statement
It's easy to see this when attempting to export App configurations:
The error is most likely due to the length of the password provided, but the message gives no clue of this.
There are also sometimes permission limitations — e.g., a non-admin can't export them at all. Even if you give a good password, you might see this appear in the logs:
But, again, no sign of it on the UI. We should change that!
Steps to Reproduce
Similarly: "Login As" a non-admin, and repeat the above steps with an appropriate-length password
Acceptance Criteria
The error messages in the UI should be clearer as to what went wrong.
dotCMS Version
master (7/19/2023)
Proposed Objective
Technical User Experience
Proposed Priority
Priority 3 - Average