1

Closed

ShouldContinueTreeWalk throws Null exception if element is nothing

description

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 6:17 PM by markjulmar

comments

markjulmar wrote May 6, 2013 at 6:15 PM

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

markjulmar wrote May 6, 2013 at 6: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 8: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.