[Mapguide-trac] [mapguide-trac] #2467: MgOutOfRangeException when selecting features whose DateTime entry pre-dates 1970
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Jul 10 22:51:34 PDT 2014
#2467: MgOutOfRangeException when selecting features whose DateTime entry pre-
dates 1970
-------------------------+--------------------------------------------------
Reporter: kshippey | Owner:
Type: defect | Status: new
Priority: medium | Milestone: 2.6
Component: Map Agent | Version: 2.5.0
Severity: major | Keywords: MgDateTime Selection Error
External_id: |
-------------------------+--------------------------------------------------
Comment(by kshippey):
I created a small data sample to test with and had to investigate further.
In migrating customized code to the updated MapGuide 2.6 engine, I have
been working with both a fusion.js and its compiled fusionSF-compressed.js
resource. At this point, one is parsing the date only as date (M-D-Y)
while the other is attempting to translate to a Date + Timestamp,
resulting in the above error on the mapagent.fcgi level.
It appears that the compressed version uses mapagent.fcgi?version=1.0.0,
while the uncompiled version uses
mapagent.fcgi?version=2.6.0&requestData=12 as the different parameters.
It appears the 1.0.0 version returns acceptable Date format (M.D.Y) and
has no trouble with pre-1970 entries, while the 2.6.0 version attempts to
parse a timestamp out from the date.
Attached is DateTest.zip for your investigation. If off the top of your
head you have a tip on correcting the mapagent.fcgi version for my
fusionSF-compressed.js queries (compiled from the same js files that feed
the non-compiled version 2.6.0 query format), please let me know. Looks
like I'll be working that one out tomorrow.
Thank you,
Kyel
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2467#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list