#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
- Load the Sheboygan sample package
- Load the attached package to this ticket
- 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)
- 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)
Change History (4)
by , 16 years ago
Attachment: | Ticket647.mgp added |
---|
comment:1 by , 16 years ago
External ID: | → 1101887 |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fusion ticket fixed. Closing this one.
comment:3 by , 16 years ago
Milestone: | → 2.1 |
---|
Created Fusion ticket for this: http://trac.osgeo.org/fusion/ticket/93.