AtlasOfLivingAustralia/spatial-hub

Grails 4 upgrade

Closed this issue · 1 comments

Includes:
Spatial hub
Spatial service

Known Issues:

max =-1 in hibernate is supported by > grails 4
Incompatible Grails.converter:

When grails 4 load configurations like this:

` projections:
    3857:
      label: 'Pseudo-Mercator -- Spherical Mercator'
      definition:
        code: 'EPSG:3857' # leaflet supported, uses startup lat,lon,zoom

    4326:
      label: 'World Geodetic System 1984'
      definition:
        code: 'EPSG:4326' # leaflet supported, uses startup lat,lon,zoom`


It does not treat it as a Map, and key is 3857, 4326.

It treats it as an array,  4326 is an index.  It ends up with an array of 4326 elements. 
We need to add "" on the number to turn it to string