Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-297

Enum value lost at unmarshalling time if the name is composed of more than one word

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3, 0.4, 0.5
    • 0.6
    • Metadata
    • None

    Description

      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".

      Attachments

        Activity

          People

            desruisseaux Martin Desruisseaux
            desruisseaux Martin Desruisseaux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: