[mapguide-trac] #647: Fusion: Error dialog has unsubstituted markers

MapGuide Open Source trac_mapguide at osgeo.org
Wed Jul 30 17:11:58 EDT 2008


#647: Fusion: Error dialog has unsubstituted markers
----------------------------+-----------------------------------------------
   Reporter:  tomfukushima  |       Owner:       
       Type:  defect        |      Status:  new  
   Priority:  medium        |   Milestone:       
  Component:  Fusion        |     Version:  2.0.1
   Severity:  major         |    Keywords:       
External_id:                |  
----------------------------+-----------------------------------------------
 1. Load the Sheboygan sample package
  1. Load the attached package to this ticket
  1. Open the Web layout:
 !Library://Ticketxyz/BadErrorDialog.ApplicationDefinition
 (in the browser, that would be something like:
 !http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library%3a%2f%2fTicketxyz%2fBadErrorDialog.ApplicationDefinition)
  1. Enter username/password: Anonymous/<blank>; press OK

 A dialog that says "Fusioin Error: WARNING: Exception occurred in AJAX
 callback, [object Error] Location: !{1} (!{2}) xx)" is displayed.

 Looking at the Fiddler log, there is a 559 text/html response:
 {{{
 <html>
 <head>
 <title>MgInvalidArgumentException</title>
 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
 </head>
 <body>
 <h2>Invalid argument(s):
         [1] = "POLYGON((NaN NaN, NaN NaN, NaN NaN, NaN NaN, NaN NaN))"
 The AGF text is invalid because it failed to parse into a valid
 geometry object.</h2>
 Invalid argument(s):
         [1] = "POLYGON((NaN NaN, NaN NaN, NaN NaN, NaN NaN, NaN NaN))"
 The AGF text is invalid because it failed to parse into a valid geometry
 object.
 Exception occurred in method MgParseAwkt.ParseAwkt at line 89 in file
  c:\p4\mgdevbranch\2.0.x\os\common\geometry\parse\parseawkt.cpp

 - MgHttpQueryMapFeatures.Execute line 127 file c:\p4\mgdevbranch\2.0.x\
 os\web\src\httphandler\HttpQueryMapFeatures.cpp
 - MgParseAwkt.ParseAwkt line 89 file c:\p4\mgdevbranch\2.0.x\os\common\
 geometry\parse\parseawkt.cpp

 </body>
 </html>
 }}}

 Can we get the contents of that error message into the dialog (it looks
 like that was the original intent of this dialog)?  Although, in this case
 it is probably going to be useless, in other cases it may help; and people
 won't have to install and figure out how to use Fiddler in order to see
 the details of the error.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/647>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list