Type: Regression Bug
Affects Version/s: Master
Component/s: Navigation Menus
We should create the default Primary / Private Navigation Menu whenever a Public / Private Page exists and its respective menu doesnt exist, instead of checking if any menu doesn't exist, because if we fail to do this, we will often get a bunch of cases where there is no existing public/private navigation menu automatically created. This should affect a good amount of our automated functional tests, showing that it is not its intended functionality.
Steps to Reproduce
- Create a Private Page
- Create a Public Page
- Go to Build > Naivgation Menu
Public Navigation Menu Exists and Private Navigation Menu Exists
Only the first page type (Private) Navigation Menu exists.
Reproduced on: Tomcat 9.0.6 + MariaDB 10.2
Portal master GIT ID: 360da1f75cd9a12c8f26679d8591b05c58423c9c