<div dir="ltr">Thanks Marco.<div>Done in <a href="http://hub.qgis.org/issues/10625">http://hub.qgis.org/issues/10625</a></div><div><br></div><div>In case the changed logic is only a side effect of the parsing refactoring, the solution seems quite straightforwars, rolling back to differentiating between embedded/not embedded layers.</div>
<div><br></div><div>giovanni</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-18 16:52 GMT+02:00 Marco Hugentobler <span dir="ltr"><<a href="mailto:marco.hugentobler@sourcepole.ch" target="_blank">marco.hugentobler@sourcepole.ch</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi Giovanni</div><div><br></div><div>Please open a blocker ticket about the layer order and assign it to me. I'll try to look at it before the release.</div>
<div><br></div><div>Regards, Marco</div><div><br></div><div><br></div><div><div style="font-size:75%;color:#575757">Von Samsung Galaxy Note gesendet</div></div><br><br><br>-------- Ursprüngliche Nachricht --------<br>Von: "G. Allegri" <<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>> <br>
Datum: 18.06.2014  16:34  (GMT+01:00) <br>An: qgis-developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> <br>Betreff: [Qgis-developer] [QGIS Mapserver] addDrawingOrder changed logic in     2.4? <br>
<div><div class="h5"> <br><br><div dir="ltr">I'm investingating why QWC is giving me problems with QGIS Server 2.4.<div>I've spot a difference between QGIS 2.2 and the master code which seems to cause problems during the GetProjectSettings response parsing. </div>

<div><br></div><div>In previous versions of QGIS Server addDrawingOrder worked for project layers [1] while for embedded layers we had addDrawingOrderEmbeddedGroup [2].</div><div>Now we have only addDrawingOrder which seems to work only for embedded projects.</div>

<div>The result is that, without emdedded layers, the <LayerDrawingOrder> element will always be empty.</div><div><br></div><div>This seems to cause some problems on the QWC side. In fact now QWC works only with GetCapabilities, while it worked both with GetCapabilities and GetProjectSettings before.</div>

<div><br></div><div>Is there a reason for this change?</div><div><br></div><div>giovanni</div><div><br></div><div>[1] <a href="https://github.com/qgis/QGIS/blob/release-2_2/src/mapserver/qgsprojectparser.cpp#L3644" target="_blank">https://github.com/qgis/QGIS/blob/release-2_2/src/mapserver/qgsprojectparser.cpp#L3644</a></div>

<div>[2] <a href="https://github.com/qgis/QGIS/blob/release-2_2/src/mapserver/qgsprojectparser.cpp#L4067" target="_blank">https://github.com/qgis/QGIS/blob/release-2_2/src/mapserver/qgsprojectparser.cpp#L4067</a></div><div>
<div><br></div>
-- <br><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div>

<div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div>
</div></div>
</div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div>
<div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div>
</div>