[mapguide][MG229][Modified] Crash when retrieving exception msg if MgInitializeWebTier w...
Alain Lebatard
alain.lebatard at autodesk.com
Mon Apr 17 19:51:08 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)
Modified by:
Alain Lebatard
alainlebatard (alain.lebatard at autodesk.com)
The following modifications were made to this artifact:
---------------------------------------------------------------------
-- Resolution Description set to new value:
A Web application MUST call MgInitializeWebTier, but if it doesn't the application (or worse the web server) shouldn't crash, and that's the sole purpose of this submission.
The crash was caused in ACE by attempting to get the locale from a configuration that was not initialized properly. The fix is to bypass the lookup of the locale when the configuration has not been initialized. In this case the locale is forced to English.
Because the resource file was not loaded, GetDetails() or GetMessage() cannot retrieve the exception description, but no crash occurs and the user gets a message "Failed to retrieve message for exception..." which allows troubleshooting.
-- Resolution set to new value:
Submitted
-- Artifact Status changed:
Old value:
New
New value:
Resolved
---------------------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list