You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (JIRA)" <ji...@apache.org> on 2015/10/05 17:41:27 UTC
[jira] [Closed] (SIS-297) Enum value lost at unmarshalling time if
the name is composed of more than one word
[ https://issues.apache.org/jira/browse/SIS-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux closed SIS-297.
-----------------------------------
> Enum value lost at unmarshalling time if the name is composed of more than one word
> -----------------------------------------------------------------------------------
>
> Key: SIS-297
> URL: https://issues.apache.org/jira/browse/SIS-297
> Project: Spatial Information Systems
> Issue Type: Bug
> Components: Metadata
> Affects Versions: 0.3, 0.4, 0.5
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Fix For: 0.6
>
>
> Unmarshalling of an enumeration value work as expected for simple words like {{"oceans"}}, but is lost for values like {{"imageryBaseMapsEarthCover"}}. The reason is that the {{EnumAdapter.name(String)}} method does not insert underscore between words (i.e. converts {{"imageryBaseMapsEarthCover"}} to {{"IMAGERYBASEMAPSEARTHCOVER"}} instead of {{"IMAGERY_BASE_MAPS_EARTH_COVER"}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)