parameter types not restored between sessions
---------------------------------------------
Key: UDIG-1104
URL: http://jira.codehaus.org/browse/UDIG-1104
Project: uDIG
Issue Type: Task
Components: catalog
Affects Versions: UDIG 1.1.RC5
Reporter: Jody Garnett
Assigned To: Jody Garnett
Priority: Minor
The IService handle provides a Map<String,Serializable> for storing parameters
... so the following should work:
put( "url", new URL("http://udig.refractions.net/confluence/display/UDIG/Home"))
And it does - and it will continue to work until the application is shut down
and restarted.
When the application is restarted and the service is again created with the map
of connection paramters everything is "downgraded" to Map<String,String>. The
existing DataStore based services all handle this gracefully - but we should
obey our contract and preserve type.
This is an implementation problem with "local" Catalog (and probably the
CatalogPlugin - the catalog api does not require any changes here.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel