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

Navigation Menu Element / Site Pages Names Need to Check for Max length

    Details

      Description

      Description
      Navigation Menu Names/Titles have no character cap, and the database will still add it. Therefore, if a user adds a really long name/title, it will cause most browsers to freeze. The same will occur for Site Pages.

      Steps to Reproduce

      1. Navigate to Site Admin > Build > Navigation Menus
      2. Add a Submenu
      3. Set the name to be 1000+ characters long
      4. Add element
      5. Refresh Page

      Expected Result
      Element cannot be added with a really long character length

      Actual Result
      Element causes a lot of performance issues

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: 0097004dee01c512129b8feaf8e45ae6c13b4210

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 7 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.0 Beta 2
                  7.1.X
                  Master