[Mapguide-trac] [mapguide-trac] #2585: The total entries is not correct with Oracle data source
MapGuide Open Source
trac_mapguide at osgeo.org
Thu May 12 08:01:10 PDT 2016
#2585: The total entries is not correct with Oracle data source
-----------------------+----------------------
Reporter: zhanga | Owner: jng
Type: defect | Status: closed
Priority: low | Milestone: 3.1
Component: Map Agent | Version: 3.0.0
Severity: trivial | Resolution: fixed
Keywords: | External ID:
-----------------------+----------------------
Comment (by jng):
In [changeset:"8957" 8957]:
{{{
#!CommitTicketReference repository="" revision="8957"
Merged revision(s) 8955-8956 from trunk/MgDev:
Merged revision(s) 8871, 8895, 8901, 8912-8913, 8921-8922, 8942 from
sandbox/adsk/3.1n:
Fix #2585: the total entries is not correct with Oracle data source.
It is because the initial vale of total entries is -1. We should set it to
0.
........
Fix a bug introduced by RFC #151.
When we get a layer's watermark, we use layerWatermarks->OrphanAt(index).
This modifies the watermark collection of the layer. So we cannot use
layer definition cache for watermarks.
........
Fix a bug introduced by RFC #151.
The scale range will be changed in the method RenderForSelection if
bOnlyVisibleLayers is false. So we cannot use the cached layer definition
in this case.
........
Fix the issue that DateTime value cannot be displayed in selection panel.
........
Refine #8901
........
In some special FDO provider such as Autodesk RealDWG provider, the
'Geometry' property is already in property mappings. In method
MgHtmlController::WriteSelectedFeatureAttributes(), we will first add all
mapping properties, then add geometry property. We need to check if
'Geometry' is added to avoid adding it twice.
........
Some providers such as Sqlite provider,
CreateCommand(FdoCommandType_Select) will return a extended select
command. So we need to check if it is really a extended select command
before using it.
........
Fix the defect that zoom raster image results in server crash.
It is because if the displayed size of image is very small, the width or
height may be 0. And we will use the width and height as the parameters of
RESAMPLE. FDO Raster provider will crash in this case. I set width or
height to 1 if its value is 0 to avoid the error.
........
........
devguide: Fix malformed revision history table and add a section about
mapguide-rest in supplemental_development.rst
........
}}}
--
Ticket URL: </ticket/2585#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list