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

Assign uncorrect friendlyURL value to layout when create layout by using page template

    Details

      Description

      1. Create a new site template
      2. Create a new site using template
      3. Add a new page to the site called "testpage"
      4. Create a page template "test1"
      5. Add a page to the site template called "testpage", using page template "test1" and uncheck "Automatically apply changes done to the page template." to add the page
      At this time, please refer to friendlyURL field (value:/testpage) of layoutfriendlyurl table and friendlyURL field(value:/3(layoutId)) of layout table.

      Expected behavior: friendlyURL field value should be "/testpage" in layout table.

      6. Visit actual site again and the following errors will be thrown:
      ERROR [http-bio-8080-exec-11][JDBCExceptionReporter:82] Duplicate e
      ntry '20548-0-/testpage-en_US' for key 'IX_A6FC2B28'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                hai.yu Hai Yu
                Participants of an Issue:
                Recent user:
                Nicole Mak
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 31 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M4