Opened 15 years ago

Closed 4 years ago

#985 closed defect (fixed)

SymbolType.InsertionPointY LDF schema element is wrong type

Reported by: waltweltonlair Owned by:
Priority: low Milestone: 4.0
Component: General Version: 2.1.0
Severity: trivial Keywords: xsd
Cc: External ID:

Description

The LayerDefinition schema has a SymbolType element with InsertionPointX and InsertionPointY child elements. InsertionPointX is defined as a string, but InsertionPointY is incorrectly defined as a double. It needs to also be a string so that it can support expressions. Note that the data model (MdfModel) and stylization already treat both as strings that support expressions.

This change will most likely require that we bump the schema version, but it's not worth doing it just to fix this one issue. The bug has existed since the beginning of MGOS, and no one seems to have ever tried saving a layer definition that uses an expression for InsertionPointY (which is why I've set the ticket priority to low). At some point we'll be updating the schema with new functionality, and at that point we can roll in this fix as well.

Change History (5)

comment:1 by jng, 12 years ago

Milestone: 2.22.5

comment:2 by jng, 11 years ago

Milestone: 2.52.6

comment:3 by jng, 6 years ago

Milestone: 3.03.3

Ticket retargeted after milestone closed

comment:4 by jng, 5 years ago

Milestone: 3.34.0

Milestone renamed

comment:5 by jng, 4 years ago

Resolution: fixed
Status: newclosed

Fixed with LayerDefinition v4.0.0 schema in r9644

Note: See TracTickets for help on using tickets.