Opened 12 years ago

Closed 12 years ago

#493 closed defect (fixed)

When exception happened, the error message is not wrapped well

Reported by: yangte Owned by: yangte
Priority: P3 Milestone: 2.3
Component: MapGuide Version: 2.0
Severity: Minor Keywords: Error Message wrap
Cc: Browser: All
External ID: 1414632 Operating System: Windows
state: New

Description

simillar problem happens when the server is down and user click 'Buffer' /'Measure', 'Query', 'Redline'..etc. the message is not wrappred well.
steps:

  1. Open a flexible web layout in browser
  2. Wait till the session timeout
  3. Click 'Buffer' or 'Measure' button in the toolbar

result:
the message is not wrapped well. system directly prints the raw data of response. (refer to attachment 'session expired.png')
This is because in the Common.php, when catch the exception, it will output extra error message, just remove the line:
echo "{success: false, message:'".$initializationErrorMessage."'}";

Attachments (1)

session expired.png (194.9 KB ) - added by yangte 12 years ago.

Download all attachments as: .zip

Change History (4)

by yangte, 12 years ago

Attachment: session expired.png added

comment:1 by yangte, 12 years ago

Resolution: fixed
Status: newclosed

comment:2 by yangte, 12 years ago

Resolution: fixed
Status: closedreopened

comment:3 by yangte, 12 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.