ICEfaces
  1. ICEfaces
  2. ICE-2634

ExternalContext.getRequestHeaderMap and getRequestHeaderValuesMap not implemented

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All ICEfaces; servlet and portlet environments

      Description

      In the code:

         //todo: implement!
          public Map getRequestHeaderMap() {
              return Collections.EMPTY_MAP;
          }

          //todo: implement!
          public Map getRequestHeaderValuesMap() {
              return Collections.EMPTY_MAP;
          }

      Unfortunately, an ESRI map renderer component tries to get the user-agent header value from the request and throws an NPE when it's not found. But anyone who is expecting values from empty collections will be disappointed.

        Activity

        Greg Dick created issue -
        Greg Dick made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7 [ 10080 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: