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

Business Rules Alert Dialog #3966

Closed
carlosmbe opened this issue Sep 1, 2023 · 2 comments
Closed

Business Rules Alert Dialog #3966

carlosmbe opened this issue Sep 1, 2023 · 2 comments
Labels
1 - Request A request made by a member of the community res:duplicate Duplicate of an existing issue

Comments

@carlosmbe
Copy link
Contributor

Most of the 7.9 Errors I've found so far in basic features are just Business Rules exceptions. They aren't even that bad. However, if an end user sees them out of nowhere, they seem more severe and scary than they actually are.

A very possible and emotionally heartbreaking side effect these Business Rules exceptions could cause is that end users will start saying 7.9 is more buggy than previous versions when in reality it's relatively one of our most tested and worked on versions.

For example, this error below does not deserve to have an error message this large and intimidating.

Screenshot 2023-09-01 at 2 50 00 PM
@carlosmbe carlosmbe added the 1 - Request A request made by a member of the community label Sep 1, 2023
@melton-jason
Copy link
Contributor

This is actually a known issue already.

#3343

In production instances, the error messages are formatted correctly.
In development instances, Django should be supplying html to the frontend, which can then render it appropriately.
The problem is this has stopped working somewhere down the line, and the frontend is instead rendering/accepting it as plain text rather than html.

For now, I will close this as a duplicate.

@melton-jason melton-jason closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2023
@melton-jason melton-jason added the res:duplicate Duplicate of an existing issue label Sep 1, 2023
@maxpatiiuk
Copy link
Member

One could say this is a duplicate of the OG issue created back in 2015 - #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Request A request made by a member of the community res:duplicate Duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

3 participants