PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32074

$request velocity variable in web content template is empty/inexistent when coverting article

    Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Create a template based on any trivial structure.
      In the template, put $request variable in order to show it.
      Create a web content based on that template.
      Add an Asset Publisher portlet to a page.
      When the portlet is rendered in the page, either in normal mode or in maximized mode, only a {} is shown in place of the $request variable.
      When the article title is clicked, the request is correctly shown, but when the document conversion is set and enabled, the resulting document also shows a {} in place of $request variable.

        Activity

        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        Showing {} in stead of $request variable in coverted article.

        Fixed on:
        Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 51520f01d45ac19c7b7df0a709b0963a78a16517.
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: d51e4eb90b260820b219297dbb475a0532d2f9c2.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 014067badbff824a16f9645c26a4983a0c1c1cac.

        Displaying $request variable properly in coverted article.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Showing {} in stead of $request variable in coverted article. Fixed on: Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 51520f01d45ac19c7b7df0a709b0963a78a16517. Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: d51e4eb90b260820b219297dbb475a0532d2f9c2. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 014067badbff824a16f9645c26a4983a0c1c1cac. Displaying $request variable properly in coverted article.
        Hide
        Sophia Zhang added a comment -

        Thank you Pani for testing. Closing as "Fixed".

        Show
        Sophia Zhang added a comment - Thank you Pani for testing. Closing as "Fixed".

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 28 weeks, 5 days ago

              Development

                Structure Helper Panel