[Geoserver-users] Bug in WPS Python extension - Mixed output (Screenshot attached)

As you can see from our last posts, we're using the WPS and Python Scripting extension quite a lot.
We now discovered a possible bug in the Scripting Extension when using 2 output parmaters of mixed types: One literal output and one complex output from a geoscript geometry! Since some time the Scripting extension supports more than one output parameters by returning a dictionary instead of a raw result (String, Float, Gemotry, etc.)

The Problem that occurred is that our service executes without troubles but returns only one of the 2 provided outputs!
Best is to look at the attached screenshot! We guess it's a bug in the scripting extension because returning 2 literal outputs works. It seems related to geometry and mixing literal & complex outputs!

test_output.PNG

Hey Thomas,

I am excited you guys are making use of the scripting extension!

Indeed looks like you stumbled on a bug here, do you mind filing it in jira? And if you could include a script that replicates the issue that would be much appreciated.

THanks!

-Justin

···

On Thu, Jul 18, 2013 at 10:06 AM, <Thomas.Wanderer@anonymised.com> wrote:

As you can see from our last posts, we’re using the WPS and Python Scripting extension quite a lot.
We now discovered a possible bug in the Scripting Extension when using 2 output parmaters of mixed types: One literal output and one complex output from a geoscript geometry! Since some time the Scripting extension supports more than one output parameters by returning a dictionary instead of a raw result (String, Float, Gemotry, etc.)

The Problem that occurred is that our service executes without troubles but returns only one of the 2 provided outputs!
Best is to look at the attached screenshot! We guess it’s a bug in the scripting extension because returning 2 literal outputs works. It seems related to geometry and mixing literal & complex outputs!


See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Ok, created!

http://jira.codehaus.org/browse/GEOS-5902

···

Von: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Gesendet: Freitag, 19. Juli 2013 16:29
An: Wanderer, Thomas
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] Bug in WPS Python extension - Mixed output (Screenshot attached)

Hey Thomas,

I am excited you guys are making use of the scripting extension!

Indeed looks like you stumbled on a bug here, do you mind filing it in jira? And if you could include a script that replicates the issue that would be much appreciated.

THanks!

-Justin

On Thu, Jul 18, 2013 at 10:06 AM, <Thomas.Wanderer@anonymised.com.> wrote:

As you can see from our last posts, we’re using the WPS and Python Scripting extension quite a lot.
We now discovered a possible bug in the Scripting Extension when using 2 output parmaters of mixed types: One literal output and one complex output from a geoscript geometry! Since some time the Scripting extension supports more than one output parameters by returning a dictionary instead of a raw result (String, Float, Gemotry, etc.)

The Problem that occurred is that our service executes without troubles but returns only one of the 2 provided outputs!
Best is to look at the attached screenshot! We guess it’s a bug in the scripting extension because returning 2 literal outputs works. It seems related to geometry and mixing literal & complex outputs!


See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Justin Deoliveira

OpenGeo - http://opengeo.org

Enterprise support for open source geospatial.