Model.Content.AncestorOrSelf(1) apparently null on a moved node.
Good Morning,
I recently set up a solution using V7.10.4, uCommerce and the uCommerce starterkit (Avenue Clothing).
By default the starterkit sets itself up as a root node store of which I moved to underneath my original root node called "Website".
Original
-Website
-Ucommerce Starterkit Pages
Now
-Website
-> Ucommerce Starterkit Pages
Since moving the Homepage underneath the Website settings node, Model.Content.AncestorOrSelf(1) throws up an object reference not set to an instance of an object on the inherited template.
Model.Content.AncestorOrSelf(1) apparently null on a moved node.
Good Morning,
I recently set up a solution using V7.10.4, uCommerce and the uCommerce starterkit (Avenue Clothing).
By default the starterkit sets itself up as a root node store of which I moved to underneath my original root node called "Website".
Original
-Website
-Ucommerce Starterkit Pages
Now
-Website -> Ucommerce Starterkit Pages
Since moving the Homepage underneath the Website settings node, Model.Content.AncestorOrSelf(1) throws up an object reference not set to an instance of an object on the inherited template.
Any ideas why this may be happening? (As a reference, also posted on uCommerces eureka forum and the post can be found here: https://eureka.ucommerce.net/#!/question/2557/ModelContentAncestorOrSelf-method-used-on-template-Object-reference-not-set-to-an-instance-of-an-object)
Edit: Ive also noted, Other Model based attributes are appearing as null such as Model.Content.Name
is working on a reply...