When you do a modal navigation toward a page that has a navigation bar, but no "MainCommand" defined, the app crashes.
Expected behavior
I would expect the app to not crash.
How to reproduce it (as minimally and precisely as possible)
Enter the app, press on open second page with modal, notice the app crash.
Enter the app, press on open second page, notice the app does not crash.
(if you put navigationCacheMode to required, it will not crash if you go to the non-modal page first, but it will still crash if you go to the modal page first.)
Current behavior
When you do a modal navigation toward a page that has a navigation bar, but no "MainCommand" defined, the app crashes.
Expected behavior
I would expect the app to not crash.
How to reproduce it (as minimally and precisely as possible)
Enter the app, press on open second page with modal, notice the app crash. Enter the app, press on open second page, notice the app does not crash.
(if you put navigationCacheMode to required, it will not crash if you go to the non-modal page first, but it will still crash if you go to the modal page first.)
unoExtensionBasicApp.zip
Environment
Windows
Nuget Package:
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?