Opened 15 years ago

Closed 15 years ago

#1157 closed defect (fixed)

"\n" displayed in refresh panel of Feature Source Editor when error happened.

Reported by: christinebao Owned by: Christine Bao
Priority: medium Milestone:
Component: General Version: 2.0.2
Severity: minor Keywords:
Cc: Jenny He External ID: 1280378

Description

Reported by Autodesk QA:

Steps:

  1. New Connection -> SQL Server
  2. Service: acrdmapdb1, user/pwd: sa/sa
  3. Refresh

Results:
Warning message displayed in the panel, but the newline is "\n". Please refer to the attached screen shot.

Expected results:
Warning message should display as design.

Attachments (2)

message_in_refresh_panel.PNG (9.5 KB ) - added by christinebao 15 years ago.
SchemaReportError.patch (475 bytes ) - added by christinebao 15 years ago.

Download all attachments as: .zip

Change History (6)

by christinebao, 15 years ago

comment:1 by christinebao, 15 years ago

The error message returned from server contains "\n" as new line symbol, and it should be converted into "<br>" to represent a new line in HTML page, otherwise "\n" will be displayed unexpectedly.

by christinebao, 15 years ago

Attachment: SchemaReportError.patch added

comment:2 by christinebao, 15 years ago

Attach patch https://trac.osgeo.org/mapguide/attachment/ticket/1157/SchemaReportError.patch for fixing this defect. Please review.

comment:3 by chrisclaydon, 15 years ago

Patch reviewed - looks good.

comment:4 by christinebao, 15 years ago

Resolution: fixed
Status: newclosed

Thanks Chris for reviewing. Commit the patch for fixing this defect.

Note: See TracTickets for help on using tickets.