Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Exception at screen opening leads to inability to close the screen #786

Closed
mariodavid opened this issue Feb 8, 2022 · 1 comment
Closed
Assignees
Labels
state: won't fix This will not be worked on
Milestone

Comments

@mariodavid
Copy link

Scenario

Given the following screens:

  • ProductBrowse
  • ProductEdit
    When opening the ProductEdit screen from the ProductBrowse screen and during initialization of the screen an exception occurs (like unfetched attribute exception).

Actual Behavior

After clicking away the exception that is displayed via the exception dialog and trying to close the screen via (x), another exception occurs stating: Illegal State exception: Screen is not opened rys_Product.browse

1-unfetched-execption-happens-during-screen-initialization

2-when-closing-screen-it-is-not-possible-anymore

It is only possible to get rid of the broken screen, by logging out and logging in again.

Expected behavior

There are two possible options, that would be acceptable.

  1. the ProductEdit screen is immediately closed and the ProductBrowse screen is displayed again
  2. the ProductEdit screen is still shown, but when hitting the close (x) button, the "broken" screen is closed and the ProductBrowse screen is shown again
@gorbunkov gorbunkov added this to the 1.2.0 milestone Feb 14, 2022
@glebfox glebfox added the state: won't fix This will not be worked on label Feb 14, 2022
@glebfox
Copy link
Contributor

glebfox commented Feb 14, 2022

The reasons for the exception can vary, even making the entire screen layout unresponsive to user interactions. That is why the Unexpected error dialog contains the Logout button, which is the most reliable way to handle exceptions without reopening the app in a new browser tab.

@glebfox glebfox closed this as completed Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
state: won't fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants