[mapguide][MG229][New] Crash when retrieving exception msg if MgInitializeWebTier w...

Alain Lebatard alain.lebatard at autodesk.com
Mon Apr 17 19:19:16 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG229

Type
 Defect

Artifact ID
 MG229 (Crash when retrieving exception msg if MgInitializeWebTier was not called)

Reported by
 Alain Lebatard
 alainlebatard (alain.lebatard at autodesk.com)

New artifact details:
---------------------------------------------------------

- Defect Severity set to new value
  Critical
- Component set to new value
  Web Server Extensions
- Subcomponent set to new value
  Web API
- Platform set to new value
  All
- Description set to new value
  When an exception occurs in a MapGuide API and the calling script tries to retrieve the exception message, the application crashes if the script did not call MgInitializeWebTier(). 



- Version set to new value
  1.0.0
- Steps to Reproduce set to new value
  The following PHP script crashes the php-cgfi.exe:

<?php

try
{
    $rw = new MgWktReaderWriter();
    $geom = $rw->Read("POLYGON ((10 10, 10 -10, -10 -10, -10 10, 10 10)");
} catch(MgException $e) {
    echo $e->GetDetails();
}

?>
- Artifact Status set to new value
  New
- Artifact created
- Summary set to new value
  Crash when retrieving exception msg if MgInitializeWebTier was not called

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list