Details
-
Bug
-
Resolution: Unresolved
-
None
-
None
-
Empty show more show less
Description
problem
Although if we use the maintenance mode, it can happen that a user does have out dated JS source code in the browser.
This can happen if the user log into translate5, then he does nothing (going out to lunch) and in that time, the maintenance starts, the update is done, the maintenance stops. Since the browser makes no request to the server, the GUI does not notice the maintenance mode, therefore no reload, no update of the JS files.
solution
- Verify if we already have a similar algorithm!
- If not:
- implement, that the GUI always sends the application version as HTTP header in the Ajax requests.
- On the server side check for that version, if it does not match the server version throw an exception.
- In the GUI handle that special exception with a popup and after confirming the popup a reload