FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(modal): throw from core properly caught and rejected by NathanWalker · Pull Request #1340 · NativeScript/nativescript-angular · GitHub

fix(modal): throw from core properly caught and rejected - #1340

Merged
vakrilov merged 5 commits into
NativeScript:masterfrom
NathanWalker:modal-throw-handling
Jun 27, 2018
Merged

vakrilov merged 5 commits into
NativeScript:masterfrom
NathanWalker:modal-throw-handling

Conversation

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

App crashes if modal handling is invalid.

What is the new behavior?

Developers can now properly handle such a crash in the promise rejection of the ModalDialogService's showModal handling.

ghost added the ♥ community PR label May 21, 2018

Copy link
Copy Markdown
Contributor Author

This or NativeScript/NativeScript#5841 are viable fixes to this problem.
Both would probably be the most bullet proof but I'd be happy with just this one at a minimum.

NathanWalker force-pushed the modal-throw-handling branch from 57633a7 to a269f64 Compare May 21, 2018 15:50
ghost assigned SvetoslavTsenov May 21, 2018
ghost added in progress and removed ♥ community PR labels May 21, 2018
NathanWalker force-pushed the modal-throw-handling branch 2 times, most recently from 98b094f to 3f0fdd3 Compare May 24, 2018 00:47
NathanWalker force-pushed the modal-throw-handling branch 3 times, most recently from a520ccd to 8728f51 Compare June 1, 2018 01:03
NathanWalker force-pushed the modal-throw-handling branch from 8728f51 to fde3067 Compare June 18, 2018 15:05
ghost assigned vakrilov Jun 25, 2018
NativeScript deleted a comment from dtopuzov Jun 25, 2018

Copy link
Copy Markdown
Contributor

test

vakrilov merged commit 70730d9 into NativeScript:master Jun 27, 2018
ghost removed the in progress label Jun 27, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL