Bug in %sub_navigation%

I have discovered that the %sub_navigation% menu macro has a bug and adds one extra level to the top of the menu.

Test project file: NavTest.rw8.zip - Droplr

If you preview the Product A page and inspect the menu, you will see that the menu has an extra layer wrapping it (ul +li).

51

Hmmm, is this just in the RW 8.4 or has this been around for a long time?

I assume that it’s a bug that has been around for a while. Its the first time that I have used it.

This seems to work when I set RWAlwaysDisplayFullSubNavigation to true in the Theme.plist