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

Fix displaying element validation errors. #2977

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Fix displaying element validation errors. #2977

merged 1 commit into from
Jul 30, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 30, 2024

What is this pull request for?

With the change in 30ef25f we return a 422 from the element update action. This needs to be handled via the ajax:complete event, because a 422 is considered an error response and not a succes.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

With the change in 30ef25f we return a 422 from the
element update action. This needs to be handled via
the `ajax:complete` event, because a 422 is considered
an error response and not a succes.
@tvdeyen tvdeyen requested a review from a team as a code owner July 30, 2024 08:49
Copy link

codecov bot commented Jul 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.02%. Comparing base (b29913c) to head (b8434f3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2977   +/-   ##
=======================================
  Coverage   96.02%   96.02%           
=======================================
  Files         233      233           
  Lines        6309     6309           
=======================================
  Hits         6058     6058           
  Misses        251      251           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen merged commit 92e9d55 into main Jul 30, 2024
36 checks passed
@tvdeyen tvdeyen deleted the fix-element-save branch July 30, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants