Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-508

[FIX] GenericMVCContext getKeys() throws error

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5, 1.6-dev
    • 1.6-dev
    • Portlets
    • None

    Description

      The org.apache.jetspeed.portal.portlets.GenericMVCContext method getKeys() throws java.lang.UnsupportedOperationException at

      keySet.add(keys[i]);

      (line 140 in the 1.6dev code)

      GenericMVCContext uses a HashMap for 'data'. The keySet() method of HashMap does not support 'add'; see http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html.

      I was trying to get a dump of keys in the Context when I came across this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bob.fleischman@mindspring.com Bob Fleischman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment