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

Request attributes are cleared in Freemarker and OSGI Context

    Details

      Description

      When building the Freemarker based portlets on OSGI context, its observed that the request attributes set but Freemarker and its chained classes are cleared. During the analysis and investigation its found that the following setting in the portal-service/src/com/liferay/portal/kernel/servlet/DynamicServletRequest.java#135

      setRequest(dynamicRequest.getRequest());

      is causing that issue, when we removed that line things started to work as expected.

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              kamesh.sampath Kamesh Sampath (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 49 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 M3