[mapguide][MG350][New] Two bugs with expressions for point symbols

Traian Stanev traian.stanev at autodesk.com
Wed Aug 9 17:10:36 EDT 2006


You can view the artifact detail at the following URL:

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

Type
 Defect

Artifact ID
 MG350 (Two bugs with expressions for point symbols)

Reported by
 Traian Stanev
 traianstanev (traian.stanev at autodesk.com)

New artifact details:
---------------------------------------------------------

- Steps to Reproduce set to new value
  Use an expression for symbol width that results in a negative number -- server should crash.

Use an expression like "100 + 100" for symbol width -- notice that width is drawn as 100 instead of 200.
- Defect Severity set to new value
  Medium
- Description set to new value
  The GDRenderer crashes if a symbol widht or height expression evaluates to a negative number. The math assumes width and height are always positive (and they should be).

Another problem is when parsing expressions that represent numbers. An expression like "100 + something" would erroneously be parsed to equal 100, because of the empty space betweem the 100 and the +.
- Operating system set to new value
  All
- Target milestone set to new value
  1.0.2
- Artifact created
- Priority set to new value
  P2
- Artifact Status set to new value
  New
- Subcomponent set to new value
  Mapping Service
- Summary set to new value
  Two bugs with expressions for point symbols
- Component set to new value
  Server
- Platform set to new value
  All
- Version set to new value
  1.0.1

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








More information about the Mapguide_issues mailing list