Details

    • Type: Bug
    • Status: Contributed Solution
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Affected: Tested with Sun JDK 1.5 (build 1.5.0_10-b03) and Sun JDK 1.6(build 1.6.0_06-b02) and the Liferay 5.1 bundles Jetty, Tomcat 5.5 and JBoss 5.2. All versions are affected!
      Not affected: Liferay 5.0.1 with Tomcat, no more tested.

      Description

      Hello,

      out simple testing code for portlet session was working in Liferay 5.0.1 and not in Liferay 5.1.
      On every refresh with got an new empty session with an new session id.

      @Override
      public void render(RenderRequest request, RenderResponse response) throws PortletException, IOException

      { super.render(request, response); System.out.println(request.getPortletSession().getAttribute("hello") == null ? "not found" : "found"); request.getPortletSession().setAttribute("hello", "world"); System.out.println(request.getPortletSession().getAttribute("hello") == null ? "Hallo nicht da!!!" : "Hallo bereits da!!!"); System.out.println("render sessionId: " + request.getPortletSession().getId()); }

      Have you any ideas?

      Best regards,
      Christoph

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Subcomponents