#4311 (Recursive reload due to lino_version mismatch)
40 · by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 4 years, 7 months ago by Sharif Mehedi in reply to Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : It's apparent that the problem appeared when I tried to update Model.__bases__ dynamically.
- 4 years, 7 months ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) (1 reply) : Okay! The problem seems to be related to my changes in medico. react is fine with noi1r.
- 4 years, 7 months ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : For some unknown reason, react is looping non-stop requesting for ?update_found=1 on my local machine.
- 5 years ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : At the moment the recursion will stop after three tries and tell the use to remove site data manually. And I have another idea that might be the solution to this issue and will try it later.
- 5 years ago by Luc Saffre about #4311 (Recursive reload due to lino_version mismatch) : So the idea we just had is to have also react add lv=sitedata.revision_number with every ajax request. And test_version_mismatch() should also cause a real error message for react.
- 5 years, 1 month ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : This problem should disappear now for good. Changes involve adding an http header when lino finds a version_mismatch following [url developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data mdn directive]. It's better to use the http header instead of calling browser APIs because the APIs va...
- 5 years, 1 month ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : Problem has disappeared again out of the blue.
- 5 years, 1 month ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : It's weird! Everything seems fine. code_mtime is written right on Lino_***_**.json files but the request still getting the old code_mtime. Need further investigation.
- 5 years, 1 month ago by Sharif Mehedi about #4311 (Recursive reload due to lino_version mismatch) : The problem first appeared on jane after releasing react-21-8-3 @ 2021-08-31 which had disappear after a while. I accidentally reproduced it while working on #4251 .