This project is read-only.


ShouldContinueTreeWalk throws Null exception if element is nothing


It happens if trigger is attached to page object. No parent -> ShouldContinueTreeWalk receives null as parameter from TryFindNearestStatefulControl and tryes to figure out if null has parent ^)))
Closed May 6, 2013 at 7:17 PM by markjulmar


markjulmar wrote May 6, 2013 at 7:15 PM

There is a missing "return false" which is needed there.

markjulmar wrote May 6, 2013 at 7:17 PM

Resolved with changeset 83612: Fixed bug in PageNavigator.NavigateTo(Type,object) not passing along argument.
Fixed bug in VisualStateUtilities.ShouldContinueTreeWalk - missing test.

markjulmar wrote May 6, 2013 at 9:56 PM

Associated with changeset 83613: - Added BindingTrigger to pass evaluated object onto Action - this is useful for VSM changes.
  • Change GoToStateAction to use passed parameter as StateName if no state name is supplied.