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 sporadical timeout issue when adding new samples/remarks #1522

Merged
merged 2 commits into from
Feb 9, 2020

Conversation

ramonski
Copy link
Contributor

@ramonski ramonski commented Feb 9, 2020

Description of the issue/feature this PR addresses

This PR addresses sporadical timeout issues when adding new Samples or new Remarks. The problem occured first in FireFox 68 ESR so that either the "Save" button kept disabled or the dataset was not stored.

Further information:

Current behavior before PR

Some browsers dropped silently some Ajax POST requests.

Desired behavior after PR is merged

Ajax POST requests have now a timeout of 10 minutes. If the request failed, an error message is displayed to the user.

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

@ramonski ramonski requested a review from xispa February 9, 2020 12:03
@ramonski ramonski changed the title Added timeout option to jQuery POST request Fix sporadical timeout issue when adding new samples/remarks Feb 9, 2020
@xispa xispa merged commit 58f3001 into master Feb 9, 2020
@xispa xispa deleted the ajax-post-timeout branch February 9, 2020 20:16
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