https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-12-17T07:45:26ZQGIS Issue TrackingQGIS Application - Bug report #20808: WFS2 GetFeature over python interface fails with QGIS versions 2.18.21<https://issues.qgis.org/issues/20808?journal_id=972832018-12-17T07:45:26ZSimon Planzersplanzer@linz.govt.nz
<ul></ul><p>Issue originally summarized against my own product as below:</p>
<p>*QGIS 2.18.17
*<br /><pre>
uri = 'https://data.linz.govt.nz/services;key=9f6f324fd21941d08fc821ba7718958c/wfs?SERVICE=wfs&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=data.linz.govt.nz:layer-50221'
layer=QgsVectorLayer(uri, 'test', 'WFS')
layer.isValid()
True
</pre></p>
<p>*QGIS 2.18.26
*<br /><pre>
uri = 'https://data.linz.govt.nz/services;key=9f6f324fd21941d08fc821ba7718958c/wfs?SERVICE=wfs&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=data.linz.govt.nz:layer-50221'
layer=QgsVectorLayer(uri, 'test', 'WFS')
# QGIS HANGS AND NEVER RECOVERS!!!
</pre></p>
<p>I do note a WFS2 source code change (<a class="external" href="https://github.com/qgis/QGIS/compare/final-2_18_20..final-2_18_21#diff-7f83d21b1d3b1afc39d33a7c9560cb59R439">https://github.com/qgis/QGIS/compare/final-2_18_20..final-2_18_21#diff-7f83d21b1d3b1afc39d33a7c9560cb59R439</a>) between 2.18.20 an 2.18.21 monitoruf WFS2 responses. Perhaps related???</p>
<p>Anyone info you require please ask</p>
<ul>
<li>Note I have edited this to include a temporary API key (in above wfs url) for this service to support debugging</li>
</ul> QGIS Application - Bug report #20808: WFS2 GetFeature over python interface fails with QGIS versions 2.18.21<https://issues.qgis.org/issues/20808?journal_id=983342019-01-20T21:26:30ZNyall Dawson
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Please test with 3.4 - 2.18 is no longer supported</p> QGIS Application - Bug report #20808: WFS2 GetFeature over python interface fails with QGIS versions 2.18.21<https://issues.qgis.org/issues/20808?journal_id=985372019-01-20T23:35:20ZJürgen Fischerjef@norbit.de
<ul></ul><p>Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.</p> QGIS Application - Bug report #20808: WFS2 GetFeature over python interface fails with QGIS versions 2.18.21<https://issues.qgis.org/issues/20808?journal_id=986332019-01-21T19:20:38ZSimon Planzersplanzer@linz.govt.nz
<ul></ul><p>I can confirm this is not an issue with 3.4</p> QGIS Application - Bug report #20808: WFS2 GetFeature over python interface fails with QGIS versions 2.18.21<https://issues.qgis.org/issues/20808?journal_id=986342019-01-21T19:26:58ZNyall Dawson
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>