Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

frontend shall switch to offline mode on http 503 error #1045

Closed
teosarca opened this issue Jul 18, 2017 · 1 comment
Closed

frontend shall switch to offline mode on http 503 error #1045

teosarca opened this issue Jul 18, 2017 · 1 comment

Comments

@teosarca
Copy link
Member

Type of issue

Bug

Steps to reproduce

  • suppose you have a webui window opened (browsing sales orders or something... does not matter)
  • suppose we do a rollout. When developing i think you shall mock this case for testing, i.e. mock some endpoints to return 503 Service Unavailable
  • while doing a rollout, there is short period of time when the backend HTTP server is up but not yet the services. In that case, backend will return 503 Service Unavailable
  • refresh the browser window
    => NOK: Instead of displaying the "offline mode overlay" the frontend is displaying 404 Not found

image

Expected behavior

When server could not be contacted or if the endpoints are returning "503 Service Unavailable" then frontend shall display the offline mode overlay.

@teosarca teosarca added this to the Backlog milestone Jul 18, 2017
@cadavre cadavre modified the milestones: 2017-30, Backlog Jul 18, 2017
@Dunkat Dunkat self-assigned this Jul 19, 2017
cadavre added a commit that referenced this issue Jul 19, 2017
frontend shall switch to offline mode on http 503 error #1045
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Jul 28, 2017
[#2083](#2083) Window Design WebUI: Customer Returns
[#2069](#2069) Window Design WebUI: Bill of Materials
[#2046](#2046) Window Design WebUI: Attribute Set
[#2092](#2092) Scheduler - improve error handling if AD_Role_ID can't be found
[#1046](metasfresh/metasfresh-webui-frontend-legacy#1046) opening included view from action not working in picking
[#518](metasfresh/metasfresh-webui-api-legacy#518) Picking prototype (v6)
[#1031](metasfresh/metasfresh-webui-frontend-legacy#1031) Autoselect when doubleclick on included Tab Row Field
[#2066](#2066) CRM: Businesspartner B2C Reminder Functionality
[#2067](#2067) switch between C_Order_MFGWarehouse with and without barcode
[#496](metasfresh/metasfresh-webui-api-legacy#496) String document IDs cannot be converted to int Handling Unit Editor
[#1061](metasfresh/metasfresh-webui-frontend-legacy#1061) Larger Avatar Menu Photo
[#1073](metasfresh/metasfresh-webui-frontend-legacy#1073) Bug in Advanced edit of Purchase order
[#1062](metasfresh/metasfresh-webui-frontend-legacy#1062) Avatar Foto stretches when not Square
[#1068](metasfresh/metasfresh-webui-frontend-legacy#1068) board: when there are no new cards show the empty result text/hint
[#1067](metasfresh/metasfresh-webui-frontend-legacy#1067) board: add new: don't show the loading icon after data is loaded
[#1026](metasfresh/metasfresh-webui-frontend-legacy#1026) grid: Get rid of double scrollbar
[#1027](metasfresh/metasfresh-webui-frontend-legacy#1027) line looks selected, but it's not
[#1045](metasfresh/metasfresh-webui-frontend-legacy#1045) frontend shall switch to offline mode on http 503 error
[#503](metasfresh/metasfresh-webui-api-legacy#503) Picking prototype (v5)
[#2042](#2042) Process to Update Widget Size in all child UI Elements of a System Element
[#2019](#2019) Add Widget Size to System Elements
[#516](metasfresh/metasfresh-webui-api-legacy#516) moving 1 TU from one LU to another
[#511](metasfresh/metasfresh-webui-api-legacy#511) Problems with Sales Opportunities Board
[#514](metasfresh/metasfresh-webui-api-legacy#514) Support HU transform from HU window

me-45
@metas-mk metas-mk removed this from the 2017-30 milestone Oct 4, 2017
@teosarca
Copy link
Member Author

could not be tested. Also, an old task, so we are moving it to done for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants