MyFaces Core
  1. MyFaces Core
  2. MYFACES-3489

ExternalContextUtils doesn't check PORTLET_20_SUPPORTED correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.0.13, 2.1.7
    • Component/s: Portlet_Support
    • Labels:
      None
    • Environment:
      WebSphere 7 Portal + myfaces 2.1.6

      Description

      The code shown in
      https://issues.apache.org/jira/browse/MYFACES-3375

      sets the static initialization variable "portlet20Supported" properly, and the static final boolean _PORTLET_20_SUPPORTED has the correct value, but the code at line 129 doesn't properly check the flag to identify the request type.

      if(_PORTLET_10_SUPPORTED)

      should be:

      if(_PORTLET_10_SUPPORTED || _PORTLET_20_SUPPORTED)

      In WebSphere portal environments, the existing code doesn't property identify button clicks as Action events.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development