[mapserver-dev] Mapserver 5.6.0-beta5 perl bug
Daniel Morissette
dmorissette at mapgears.com
Mon Nov 16 15:13:12 EST 2009
Nothing should have changed, the function should still return
MS_SUCCESS(0)/MS_FAILURE(1) if it finds a valid OWS request, or
MS_DONE(2) if it the request is not recognized as a valid OWS request.
It's always possible that something changed or got broken in one of the
handlers, but we'd need a way to reproduce. I'd suggest you file a
ticket with a testcase to reproduce the issue (sample request and
whatever mapfile/data is required to reproduce).
Daniel
Andy Colson wrote:
> Hi all,
>
> I'm not sure, but might have a little problem. I have this code, which
> I'm almost positive used to work:
>
> $x = $map->OWSDispatch( $owreq );
> if ($x)
> {
> print STDERR "ERROR: OWSDispatch: $x\n";
> my $errObj = new mapscript::errorObj();
> while ($errObj) {
> print STDERR "ERROR:
> $errObj->{code}:$errObj->{message}:$errObj->{routine} \n";
>
> $errObj = $errObj->next();
> }
> }
>
> I had a problem with my mapfile and should have gotten errors, but my
> error log just contained:
>
> ERROR: OWSDispatch: 1
> ERROR: 0::
> ERROR: OWSDispatch: 1
> ERROR: 0::
> ERROR: OWSDispatch: 1
> ERROR: 0::
>
> There is an error, but there is nothing in mapscript::errorObj. Did
> usage change or anything?
>
> -Andy
--
Daniel Morissette
http://www.mapgears.com/
More information about the mapserver-dev
mailing list