[mapguide][MG303][Modified] GLOB: Viewer with LOCALE=ja causes script error in IE.

Alain Lebatard alain.lebatard at autodesk.com
Wed May 31 19:51:53 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG303

Type:
Defect

Artifact ID:
MG303 (GLOB: Viewer with LOCALE=ja causes script error in IE.)

Modified by:
Alain Lebatard
alainlebatard (alain.lebatard at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Artifact Status changed:
Old value:
New
New value:
Resolved
-- Resolution set to new value:
Submitted
-- Resolution Description set to new value:
The localized file was created on Windows so it contained CR/LF pairs. On Windows CR/LF pairs are automatically converted to LF when reading the file, and the code that trimed whitespaces at the end of each string was dealing fine with LF. However on Linux, there is no such convertion so the CR character ended up in the string. Because the trimming function did not account for CR being there, it remained in the string after trimming, and strings in the Javascript appeared unterminated, as the CR characters caused them to wrap on a second line.

The trim function now accounts for the presence of CR characters.

-- Target milestone set to new value:
1.0.1



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list