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

Unable to retrieve the journal articles using JournalContentUtil class

    Details

      Description

      I am trying to fetch the journal articles using $journalContentUtil variable in velocity.
      1. Created two web contents Webcontent1 with default structure, Webcontent2 with user defined structure and templates.
      2. Tried to retrieve the Webcontent1 using $journalContentUtil.getContent(10180, '11007', 'view', $themeDisplay.language-id, $xmlrequest) from the template of Webcontent2 and succeeded.

      3. Created two web contents Webcontent3,Webcontent4 with two different structures and templates.
      4. Tried to retrieve Webcontent3 using $journalContentUtil from the template of Webcontent4 but failed
      5. Tried using various overloaded getContent methods in JournalContentUtil class still unable to fetch the article.
      6. Also tried fetching the article in JSP but it is returning null.

      Note: The templates are included in the web content by parsing VM file in the theme. It is working fine in liferay6.0 CE

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              satheeshravir Satheesh Prabu Ravi (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 20 weeks ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M2