If some items in the navigation are unpublished, subsequent items will have incorrect keyPathArray values as if all items are published. Tested in Typemill v2.1.2
Steps to reproduce:
In the default installation there are two top level folders, "Welcome" and "Cyanine". Unpublish the "Welcome" folder.
Go to frontend and open the "Cyanine" page
Try to print out item.keyPathArray on the page. item.keyPathArray[0] for "Cyanine" page outputs "1" instead of "0" even though there is only one item in the navigation variable.
If some items in the navigation are unpublished, subsequent items will have incorrect
keyPathArray
values as if all items are published. Tested in Typemill v2.1.2Steps to reproduce:
item.keyPathArray
on the page.item.keyPathArray[0]
for "Cyanine" page outputs "1" instead of "0" even though there is only one item in thenavigation
variable.