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

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4

      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

              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 45 weeks, 2 days ago

                  Subcomponents