<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014/1/24 Andreas Neumann <span dir="ltr"><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
<br>
I have problems with NULL values and GetFeatureInfo requests. They<br>
appear as "0" if the data-type is numeric, instead of "NULL" or an empty<br>
string.<br></blockquote><div><br></div><div><br></div><div>It is probably unrelated, but I've found a similar problem handling empty values, it seems like in several parts of the core, QString.isEmpty is tested instead of QString.isNull.</div>
<div><br></div><div>I mean, at least for request parameters, they should be trated as three-state: (null, empty string and a string with not-zero length).</div><div><br></div><div>I've opened a bug for this and I've patched the core but I don't even dare to propose a PR since it touches the innermost features of QGIS core.</div>
<div><br></div><div>this is the ticket <a href="http://hub.qgis.org/issues/9321">http://hub.qgis.org/issues/9321</a><br></div><div><br></div><div><br></div><div>--</div></div>Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it">www.itopen.it</a>
</div></div>