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

If document was not found forward to documents view #462

Closed
teosarca opened this issue Mar 1, 2017 · 5 comments
Closed

If document was not found forward to documents view #462

teosarca opened this issue Mar 1, 2017 · 5 comments

Comments

@teosarca
Copy link
Member

teosarca commented Mar 1, 2017

Current behavior

Type in some not existing document, e.g. https://w101.metasfresh.com:8443/window/123/99999.
A blank page is displayed which can be confusing for user.

Expected behavior

Show the error which was received from backend.
Forward to documents view. In the example above, this means: https://w101.metasfresh.com:8443/window/123 .

image

@metas-lc
Copy link

IT
i don't get an empty page OK
but i don't get an error message , only if i want to leave page. If i select "prevent this..." and press cancel, we get a flood NOK
if i select ok, then i get back to documents view OK

docu_not_exists

@Dunkat
Copy link
Contributor

Dunkat commented Mar 28, 2017

It's already fixed in #453

@Dunkat
Copy link
Contributor

Dunkat commented Mar 28, 2017

please check if you testing on current version

@metas-lc
Copy link

Thank you. Moving it back to IT
todo: test it again after #453 gets in IT

@metas-lc
Copy link

IT

  • open a window that does not exist (e.g. https://w101.metasfresh.com:8443/window/540196/1)
    => browser is not asking if i want to leave the page OK
    => didn't get any error that is not existing. Might be solved in Error handling prettyfied #253
    => the documents view opened instead (e.g. https://w101.metasfresh.com:8443/window/540196) OK
  • create a new order and don't set mandatory fields (copy the link to use it later)
  • move on another window
    => browser is asking if i want to leave the page OK
    => if i choose yes i am getting on the next window, if no i remain there OK
  • use back button
    => you get back to your unsaved document OK
  • paste the link of your docu in a new browser tab
    => exactly that docu is opening OK

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

7 participants