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

Better error messages in sample add form #1970

Merged
merged 3 commits into from
Apr 15, 2022
Merged

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR improves the error messages displayed on Sample Add Form

Current behavior before PR

Often the only error message was just error

Desired behavior after PR is merged

All errors are catched and the traceback text is displayed in the message

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@xispa xispa merged commit b690a93 into 2.x Apr 15, 2022
@xispa xispa deleted the better-error-messages-in-ar-add branch April 15, 2022 18:10
ramonski added a commit that referenced this pull request Apr 26, 2022
* Better error messages in sample add form (#1970 port)

* _t( --> _(

Co-authored-by: Ramon Bartl <[email protected]>
@xispa xispa added Version 1.3 SENAITE Core Version 1.3.x and removed Version 1.3 SENAITE Core Version 1.3.x labels Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants