Change History (7)
by , 15 years ago
Attachment: | ClassDiagram.JPG added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
How to fix:
The architecture for the readers is suppose to be:
Get reader
Use reader
Close reader
As the reader is cached inside, the Close() function shouldn't clear the internal data. Fixing is not to clear internal data when close:
void MgSpatialContextReader::Close() { } MgSpatialContextReader::~MgSpatialContextReader() { m_spatialContextCol.Clear(); }
by , 15 years ago
Attachment: | SpatialContextReader.patch added |
---|
comment:3 by , 15 years ago
Attach https://trac.osgeo.org/mapguide/attachment/ticket/1119/SpatialContextReader.patch for fixing the defect.
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
One related ticket: https://trac.osgeo.org/mapguide/ticket/1107.
Note:
See TracTickets
for help on using tickets.
Tech diagnosis:
The relationship of the classes
Brief code snippet to demo how they work
How the defect happens