Opened 16 years ago

Closed 16 years ago

#898 closed defect (fixed)

Warning message during creating buffer is wrong

Reported by: leodai Owned by: leodai
Priority: low Milestone:
Component: Tile Service Version: 2.0.2
Severity: trivial Keywords:
Cc: External ID: 1202945

Description

when select one feature and do buffer, we sometimes get the following waring message because of the CS problem:

1 layers were excluded from buffer computation because their coordinate systems are incompatible with the coordinate system of the map, or because they have no coordinate system at all.

Apparently, there is an syntax error here. Looked into the codes, and found actually it has already considered such kind problem and prepare two strings for the warning message. One is the above and another is: %s layer was excluded from buffer computation because its coordinate system is incompatible with the coordinate system of the map, or because it has no coordinate system at all

The true reason of this problem is the logic of codes where choose above strings is wrong. And this is a common problem in the jsp,asp and php view.

Change History (2)

comment:1 by leodai, 16 years ago

Status: newassigned

comment:2 by leodai, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in the trunk stream with submission https://trac.osgeo.org/mapguide/changeset/3760.

Note: See TracTickets for help on using tickets.