After much hair pulling and banging my head on the desk, I tried to find the top level node by ID:
var barEvents = @Model.NodeById("1969");
Now, it all works. But, that does not correctly solve the problem, why can I not find the node like I used to with:
var barEvents = Model.Descendants("EventsCalendar").First();
The difference between the two clips above that I did not mention... The events are at level 2, one level under the home page, while the Updates parent node is at level 4.
DynamicNodeContext Descendants issue after upgrading to 6.2.5
I upgraded our copy of 6.1.6 to 6.2.5 and nearly everything is working as it should. I have some content I pull for the home page like this:
That works correctly. I have almost the same exact code for my events and not one item is being returned:
I've checked spelling, case, etc. and I cannot see a reason why the events won't display.
After much hair pulling and banging my head on the desk, I tried to find the top level node by ID:
Now, it all works. But, that does not correctly solve the problem, why can I not find the node like I used to with:
The difference between the two clips above that I did not mention... The events are at level 2, one level under the home page, while the Updates parent node is at level 4.
Well, I found this works. Is this the most correct/best way?
is working on a reply...