fieldrndservices / labstache

Add some facial hair to your LabVIEW projects
https://sine.ni.com/nips/cds/view/p/lang/en/nid/217809
1 stars 1 forks source link

Investigate transversing the data context during rendering when key is not found #4

Closed volks73 closed 4 years ago

volks73 commented 4 years ago

This is a possible bug. When a key is not found for a partial, it is supposed to "kick up" to the parent context/template. In some instances this, causes an infinite loop. I am not sure why and monitoring the recursion is a little difficult, but the data context handling should be investigated and reviewed because I think the infinite looping is being causes by a wrong implementation of the upward transversal.

volks73 commented 4 years ago

A quick test within the other project, where the infinite loop appeared, suggests this was ultimately unrelated to this project. I tried recreating the problem in the offending project, but I cannot reproduce the bug. When I encountered the possible bug, I did not spend a lot of time trying to determine the root cause. I made a change, the project worked, and I may have wrongly remembered observations from at time that lead to a belief that Labstache was the cause.

This combined with recent efforts that failed to create smaller, simpler tests to isolate and re-create the bug suggest I was just in a rush to complete the other project and did not get all of the details correct.