Skip to content

Fix navigating to unregistered region error#3329

Merged
brianlagunas merged 1 commit intoPrismLibrary:masterfrom
Axemasta:fix/3328-regionexception
Apr 15, 2025
Merged

Fix navigating to unregistered region error#3329
brianlagunas merged 1 commit intoPrismLibrary:masterfrom
Axemasta:fix/3328-regionexception

Conversation

@Axemasta
Copy link
Contributor

Description of Change

Fixes NullReferenceException being the navigation exception when navigating to an unregistered region

Bugs Fixed

API Changes

None

Behavioral Changes

None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard ?

The null check was the wrong away around in the content loader, I've flipped it and added a test to catch the erroneous behavior
@brianlagunas brianlagunas merged commit e51051a into PrismLibrary:master Apr 15, 2025
2 checks passed
@brianlagunas
Copy link
Member

Great catch! Thanks for the PR 🙏

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.

2 participants