-
Notifications
You must be signed in to change notification settings - Fork 34
Offline message is no longer displayed #1156
Comments
@teosarca This works fine UNTIL we reload the page (while staying offline). If we try to refresh page without connection established (e.g. being offline) - localized messages doesn't load as well, thus nothing to display. If your server is down, it's very unlikely to get anything in response to API i18n/messages request. Then we're getting empty list of localized messages, thus when component displays error message (expecting localized strings) it couldn't display anything. I will add english fallback message if locale isn't loaded. |
yes. I guess, complementary, i shall instruct the browser to cache the i18n/messages response (using Cache-control header). wdyt? |
@teosarca |
Offline message now correctly display in case when user refreshes the page again without connection established
Thanks for input @wiadev . |
Offline message without connection established #1156
Adding a new Issue to Release Notes metasfresh/metasfresh-webui-frontend-legacy#1156 Offline message is no longer displayed
Results of IT1
|
Type of issue
Bug
Current behavior
If the server is down, the frontend screen is grayed out (OK) but there is no message displayed.
Expected behavior
The offline mode message shall be displayed.
See also / might be related to:
The text was updated successfully, but these errors were encountered: