Hi,<div><br></div><div>this is a bug in wps-ol-client.js, caused by unsafe iteration through arrays. Ext JS extends the Array prototype, so iterating thorugh arrays with for-in will fail. The wps-ol-client should iterate using a for loop with an index instead.</div>
<div><br></div><div>You should definitely report this bug to 52N, because it's clearly a bug in the wps-ol-client.</div><div><br></div><div>Andreas.<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 9:58 AM, Ben Leetz <span dir="ltr"><<a href="mailto:ben.leetz@googlemail.com">ben.leetz@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="x-western">
Hi list, <br>
<br>
i'am facing the following error using GeoExt and the OpenLayers 52N
WPS Plugin. <br>
<br>
firebug:<br>
<div><i><span>wpsService.getProcess(process).getIdentifier
is not a function</span><br>
<span></span></i><a>
</a><pre title="processIdentifiers.push(wpsService.getProcess(process).getIdentifier());"><a><i>processIdentifiers.push(wpsService.getProcess(process).getIdentifier()); </i></a><i><a><div>wps-ol-client.js (Zeile 3661)</div>
</a></i></pre>
<br>
in line 3661 it says: <span> <i>processIdentifiers.push(wpsService.getProcess(process).getIdentifier());<br>
</i><br>
Why I'm posting this to the GeoExt list: If I remove all the
GeoExt and ExtJS scripts and only use OpenLayers, the WPS
PlugIn works without a problem. With GeoExt the WPS Plug-In
can't get the the process list out of the WPS. <br>
<br>
The only thing i found regarding this error is here:
<a href="http://answerpot.com/showthread.php?404008-Problems+with+the+new+wps-ol-client+and+extjs" target="_blank">http://answerpot.com/showthread.php?404008-Problems+with+the+new+wps-ol-client+and+extjs</a><br>
But i don't completely understand what to change in my code. <br>
<br>
Anyone had a similar problem and may can give a hint on that?<br>
<br>
Thanks, <br>
Ben<br>
<br>
<br>
</span><br>
<br>
</div>
<table height="1" cellpadding="0" cellspacing="0" width="93">
<tbody>
<tr>
<td><br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Andreas Hocevar<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org/</a><br>Expert service straight from the developers.<br><br>
</div>