Skip to content

Fix modal error handling when opening#1925

Merged
mvorisek merged 12 commits intodevelopfrom
fix_1723_modal_open_with_exception
Oct 31, 2022
Merged

Fix modal error handling when opening#1925
mvorisek merged 12 commits intodevelopfrom
fix_1723_modal_open_with_exception

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Oct 29, 2022

the error handling topic is quite complex, closeOnLoadingError modal data variable is newly set when the modal is to be opened for the first time from API, once the load is complete, the variable is removed.

Any inner modal must NOT close any parent modal! (checked in JS code, JS exception in console will be thrown, but the modal will never be closable by an user then)

@mvorisek mvorisek force-pushed the fix_1723_modal_open_with_exception branch 7 times, most recently from 9fbd983 to 1cf1641 Compare October 30, 2022 01:05
@mvorisek mvorisek force-pushed the fix_1723_modal_open_with_exception branch from 1cf1641 to 93cbfac Compare October 30, 2022 21:14
@mvorisek mvorisek force-pushed the fix_1723_modal_open_with_exception branch from 83564c7 to 1c78497 Compare October 30, 2022 22:38
@mvorisek mvorisek force-pushed the fix_1723_modal_open_with_exception branch from cc73b01 to 0deb334 Compare October 31, 2022 09:33
@mvorisek mvorisek changed the title Fix modal error handling on initial open Fix modal error handling when opening Oct 31, 2022
@mvorisek mvorisek marked this pull request as ready for review October 31, 2022 10:34
@mvorisek mvorisek merged commit 54e8e90 into develop Oct 31, 2022
@mvorisek mvorisek deleted the fix_1723_modal_open_with_exception branch October 31, 2022 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant