Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-77965

Multiple menus can be marked as Main Menu

    Details

    • Fix Priority:
      4

      Description

      Steps to reproduce issue:

      1. Navigate to Site Administration > Navigation > Navigation Menus
      2. Add a new navigation menu
      3. Add an item into the navigation menu
      4. Open the navigation menu sidebar
      5. Select "Main Menu" as the menu type
      6. Save the menu configuration
      7. View the navigation menu sidebar
      8. Assert the navigation menu is set as Main Menu
      9. Return to list of navigation menus
      10. Edit "Default" menu
      11. View the sidebar

      Expected result: Navigation menu "Default" is no longer marked as "Main Menu"
      Actual result: Navigation menu "Default" is marked as main menu. Querying the tables shows that both are marked as main menus:

      select name from lportal.sitenavigationmenu where type_ = 1;"
      

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7
      Portal Master GIT ID: 423484b2ea51e7dac5a44f2cb9be847fb99c6761

        Attachments

          Activity

            People

            Assignee:
            anthony.chu Anthony Chu
            Reporter:
            anthony.chu Anthony Chu
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 31 weeks, 6 days ago

                Packages

                Version Package
                7.1.0 M1
                7.1.X
                Master