[mapserver-dev] Mapserver 5.6.0-beta5 perl bug

Andy Colson andy at squeakycode.net
Mon Nov 16 12:58:34 EST 2009


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


More information about the mapserver-dev mailing list