[QGIS-Developer] stronger minor version parsing is required inside GeoNode request

G. Allegri giohappy at gmail.com
Fri Jan 25 02:05:49 PST 2019

Currently QGIS parses GeoNode's version with a simple .toInt():
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190125/ed2ca7b0/attachment-0001.html>

More information about the QGIS-Developer mailing list