items in the metadata map do not round trip type
------------------------------------------------
Key: GEOS-3093
URL: http://jira.codehaus.org/browse/GEOS-3093
Project: GeoServer
Issue Type: Bug
Affects Versions: 2.0-beta1
Reporter: Justin Deoliveira
Assignee: Justin Deoliveira
Fix For: 2.0-beta2
The problem is that the xstream persister drops any type information in the interest of keeping the map contents less verbose. The rationale here was for the rest config.
The work around for now is that code that does:
(Integer) xyz.getMetadata().get( "foobar")
Can do this:
Converters.convert( xyz.getMetadata().get( "foobar"), Integer.class )
But it would be nicer if the information was preserved. See GEOS-3092.
--
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