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

Link to Page value is not required when creating a page of type Link to Page

    Details

      Description

      Description
      Link to Page value is not required when creating a page of type Link to Page

      Steps to reproduce/Testing done

      1. Start Liferay and login as admin
      2. Go to > Control Panel > Site Pages
      3. Add a new page of type portlet
      4. Click on the page that was just added and change its type to Link to Page
      5. Leave the Link to Page pull-down menu blank and hit save
      6. Notice that it saves and the Link to Page value is not required

      Alternatively:

      1. Try to add a page of type Link to Page from the Welcome page after logging in
      2. Notice that it will always be created after a name is given and that it doesn't even give the option to the user to choose a page to which it will link.

      Results of Testing
      Expected behavior: A page of Link to Page type will not save unless a value is given for the Link to Page field
      Actual behavior: A page of Link to Page type will always save even if a value is not given for the Link to Page field.

      Remark
      This issue affects not only the Link to Page type, but all others. For instance, in the Link to URL type you could leave the URL empty.

      Errors/Logs
      n/a

      Reproduced...
      Reproduced in trunk? Yes (74c1938d2800d327e72c3d2d47464aae72a54e7b)
      Reproduced in 6.1.x? Yes (ab72dcff6b78ecdb82a92d4156d87e0541148fc3)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              felix.zhang Felix Zhang
              Reporter:
              christopher.kian Christopher Kian
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 47 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE