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

journal-content-friendly-url-routes.xml uses obsolete templateId variable

    Details

      Description

      1. Create site S1 and note down its ID.
      2. Create a page P1 in S1.
      3. Create a web content stucture in S1.
      4. For the structure, create two different templates T1 and T2. From the ddmtemplate table, note down their templateId and ddmTemplateKey.
      5. Create an article based on the structure and note down its ID.
      6. Navigate to http://localhost:8080/web/s1/p1/-/journal_content/56/<S1 site ID>/<article ID>/<T1 Id>. Article is displayed with the T1 template.
      7. Navigate to http://localhost:8080/web/s1/p1/-/journal_content/56/<S1 site ID>/<article ID>/<T1 key>. Article is displayed with the T1 template.
      8. Navigate to http://localhost:8080/web/s1/p1/-/journal_content/56/<S1 site ID>/<article ID>/<T2 key>. Article is displayed with the T1 template.

      Expected: http://localhost:8080/web/s1/p1/-/journal_content/56/<S1 site ID>/<article ID>/<T2 key> is shown with T2 template

      Master is unaffected because this routes.xml is not present there in any form.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                zsolt.olah Zsolt Oláh (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 16 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE