We really need to get a ticket created for this issue, can you do that?<br><br>Steve<br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 11:38 AM, myOpenLayersUName <span dir="ltr">&lt;<a href="mailto:joanne.mcgraw@sympatico.ca">joanne.mcgraw@sympatico.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">While waiting for a patch which will correctly fix the problems described in<br>
this thread (OGC queries to SDE failing), we have introduced a change to our<br>
version of mapsde.c that is allowing us to move forward.<br>
<br>
In the msSDELayerFreeItemInfo function, we changed the boolean expressions<br>
at lines 2116 and 2121 to check that sde wasn&#39;t NULL before checking the<br>
basedefs and joindefs as shown below. For the time being, this is allowing<br>
us to continue our work with no serious problems encountered so far. If we<br>
do come across some, I&#39;ll be sure to let you know.<br>
<br>
Cheers,<br>
jtm<br>
<div class="im"><br>
<br>
void msSDELayerFreeItemInfo(layerObj *layer)<br>
{<br>
#ifdef USE_SDE<br>
    msSDELayerInfo *sde = NULL;<br>
    int i;<br>
    if (!msSDELayerIsOpen(layer)) {<br>
        msSetError( MS_SDEERR,<br>
                    &quot;SDE layer has not been opened.&quot;,<br>
                    &quot;msSDELayerFreeItemInfo()&quot;);<br>
    }<br>
    sde = layer-&gt;layerinfo;<br>
</div>    if (sde != NULL &amp;&amp; sde-&gt;basedefs) {<br>
<div class="im">        SE_table_free_descriptions(sde-&gt;basedefs);<br>
</div>        sde-&gt;basedefs = NULL;<br>
    }<br>
    if (sde != NULL &amp;&amp; sde-&gt;joindefs) {<br>
        SE_table_free_descriptions(sde-&gt;joindefs);<br>
        sde-&gt;joindefs = NULL;<br>
    }<br>
    if (layer-&gt;iteminfo) {<br>
        :<br>
<font color="#888888"><br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Can-t-WFS-getFeature-w-MapServer-6-0-1-tp6600286p6611100.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Can-t-WFS-getFeature-w-MapServer-6-0-1-tp6600286p6611100.html</a><br>

</font><div><div></div><div class="h5">Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br>