-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Factsheets] Bug when editing a framework factsheet #697
Comments
The same is observed on the model and scenario factsheet. Is the proposed solution to disable caching a valid solution? |
@johannwagner can you advise on the best way to tackle the issue? Is my suggested solution for such problems (disable cacheing) applicable? Or do you see another reason for the problem. If you don't know how something like this happens either, I'll do some research. |
This is a quite annoying bug - as showing an outdated view gives the user the impression that the update did not work. One can tell the browser that a document should be updated, by serving a different ETag of the file: Maybe this helpes to reduce the caching issues? |
Thanks for this tip did not know about the ETag. I will try it out and implement, as long as not too many follow-up problems occur :) |
…w to prevent #697 requires TOEP test to validate resolved bug
Well i decided to use the never_cache decorator as it seems to be more predictable. We will install the fix on our test-oep instance soon and check if it solves the issue. |
What is the Issue about?
A user edits a framework factsheet and unchecks a checkbox, for example. Then the input is confirmed with "submit all". Up to this point everything runs as expected. If now the same framework factsheet is edited again because another value is to be changed, then a cached page is provided by the browser. The problem is, that the values of the state before the first editing are displayed. If you empty your browser cache and reload the page the updated values are displayed.
Solution:
The text was updated successfully, but these errors were encountered: