intershop-pwa icon indicating copy to clipboard operation
intershop-pwa copied to clipboard

feat: display maintenance page in case of a 503 http status error

Open SGrueber opened this issue 2 years ago • 0 comments

PR Type

[ ] Bugfix [x] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no API changes) [ ] Build-related changes [ ] CI-related changes [ ] Documentation content changes [ ] Application / infrastructure changes [ ] Other:

What Is the Current Behavior?

If the ICM server is in maintenance mode REST requests respond with an 503 http status code, but the client doesn`t handle these errors properly.

Issue Number: Closes #

What Is the New Behavior?

The pwa shows a maintenance page if a REST request respond with a 503 error.

Does this PR Introduce a Breaking Change?

[ ] Yes [x] No

Other Information

Needs the following ICM fix concerning an incomplete response header: AB#76259

AB#75906

SGrueber avatar Apr 08 '22 12:04 SGrueber