Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#647 closed defect (fixed)

Fusion: Error dialog has unsubstituted markers

Reported by: tomfukushima Owned by:
Priority: medium Milestone: 2.1
Component: Fusion Version: 2.0.1
Severity: major Keywords:
Cc: External ID: 1101887

Description

  1. Load the Sheboygan sample package
  2. Load the attached package to this ticket
  3. 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.

Attachments (1)

Ticket647.mgp (5.7 KB) - added by tomfukushima 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by tomfukushima

Attachment: Ticket647.mgp added

comment:1 Changed 10 years ago by tomfukushima

External ID: 1101887

Created Fusion ticket for this: http://trac.osgeo.org/fusion/ticket/93.

comment:2 Changed 10 years ago by tomfukushima

Resolution: fixed
Status: newclosed

Fusion ticket fixed. Closing this one.

comment:3 Changed 10 years ago by tomfukushima

Milestone: 2.1
Note: See TracTickets for help on using tickets.