Currently QGIS parses GeoNode's version with a simple .toInt():
https://github.com/qgis/QGIS/blob/master/src/core/geocms/geonode/qgsgeonoderequest.cpp#L275
but GeoNode adds more informations to the minor version, for instance "rc"
for a release candidate. This makes the parsing fail and thus layers are
not fetched.

As an example look at the "geonode_version" field on the master demo
instance: http://master.demo.geonode.org/api/layers/

Probably a regex should be used to extract only the first numbers from the
minor version part.

Best,
Giovanni
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to