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 AspNetCore UseExceptionHandler applied on postbacks #1705

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

exyi
Copy link
Member

@exyi exyi commented Sep 29, 2023

AspNetCore reexecutes the same request with the original POST method. If a DotVVM page is handling the error, we assumed that we need to execute a postback in the Error page. The request body was usually already consumed, and even if wasn't a matching command wasnt found.

resolves #1700

AspNetCore reexecutes the same request with the original POST
method. If a DotVVM page is handling the error, we assumed that
we need to execute a postback in the Error page. The request body
was usually already consumed, and even if wasn't a matching command
wasnt found.

resolves #1700
@exyi exyi force-pushed the fix-postback-error-handler branch from 09c8f3c to 14ea3f2 Compare September 29, 2023 12:11
@tomasherceg tomasherceg merged commit e0b4c41 into main Sep 29, 2023
14 checks passed
@tomasherceg tomasherceg deleted the fix-postback-error-handler branch September 29, 2023 14: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.

JsonReaderException error with UseExceptionHandler and postback
2 participants