Opened 20 years ago

Closed 20 years ago

#742 closed enhancement (fixed)

[Mapscript-PHP] layer->open shouldn't produce a fatal php error.

Reported by: zjames@… Owned by: mapserverbugs
Priority: high Milestone:
Component: MapScript-PHP Version: 4.3
Severity: minor Keywords:
Cc:

Description

The function $layer->open() currently causes a fatal php error when there is any failure in opening the 
layer. Since this terminates the instance of php opening the layer, it's difficult for php applications to 
recover cleanly. If this fatal error was downgraded to a php warning, interactive applications could test 
layers to see if they were correctly configured and provide feedback to the user.

Change History (1)

comment:1 by dmorissette, 20 years ago

Resolution: fixed
Status: newclosed
Done in 4.3 CVS (php_mapscript.c rev 1.201)
Note: See TracTickets for help on using tickets.