Thursday, April 5, 2018

Form Panel SubmitCompleteEvent not triggered

Hi,

FormPanel SubmitCompleteEvent is not triggered on FireFox and Safari in case of http status code 400 response (could be all error codes, not sure), but it is triggered for http status code 200 response. On Chrome it works for both 200 and 400 responses.

We have two file upload forms, one is receiving json, the other one is receiving text/html response, the behavior is the same for both of those.
GWT version is 2.8.2, Mac os version is 10.13.3

Chrome (version 65.0.3325.181):
Response http status code 200, SubmitCompleteEvent is triggered, Response http status code 400, SubmitCompleteEvent is triggered

Firefox (version 59.0.2)
Response http status code 200, SubmitCompleteEvent is triggered, Response http status code 400, SubmitCompleteEvent is not triggered

Safari (version 11.0.3)
Response http status code 200, SubmitCompleteEvent is triggered, Response http status code 400, SubmitCompleteEvent is not triggered (response download :) )

One of the forms was a part of the old feature and it was working correctly, but it also could be broken for some time, we only now discovered the problem when designing the new feature with form.

Is this a known bug? Is there a workaround?

Regards

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment