Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently if a remote post could not be completed or an error code is returned. The user who submitted the form would not know about the error. It is good that the error is logged in the db. However, it would be nice if there is an option to display a customizable error message to the user.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2915653-remote-post-error-handling-4.patch | 134.57 KB | jrockowitz |
|
Comments
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedWhen reviewing the RemotePost handler I started to realize that silently logging a failed submission is just a bad idea. The attached patch displays a generic customizable submission exception message to the user.
Comment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI committed the patch. Please download latest dev release to review.