You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by je...@jakarta.apache.org on 2004/08/28 22:05:20 UTC

[jira] Resolved: (JS1-508) GenericMVCContext getKeys() throws error

Message:

   The following issue has been resolved as FIXED.

   Resolver: Jeremy Ford
       Date: Sat, 28 Aug 2004 1:04 PM

Fix applied
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-508

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-508
    Summary: GenericMVCContext  getKeys() throws error
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: Jetspeed
 Components: 
             Portlets
   Fix Fors:
             1.6-dev
   Versions:
             1.6-dev
             1.5

   Assignee: 
   Reporter: Bob Fleischman

    Created: Tue, 3 Aug 2004 4:34 AM
    Updated: Sat, 28 Aug 2004 1:04 PM

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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org