Opened 13 years ago
Closed 13 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:
- Open a flexible web layout in browser
- Wait till the session timeout
- 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)
Change History (4)
by , 13 years ago
Attachment: | session expired.png added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.