Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3489

ExternalContextUtils doesn't check PORTLET_20_SUPPORTED correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6
    • 2.0.13, 2.1.7
    • Portlet_Support
    • None
    • 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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            gregjd Greg Dick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: