-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetFeature with 'date' filter doesn't work on MS7 #5104
Comments
Any chance of getting a small test case? I don't think this is exactly #5102. Probably a conversion within the PostGIS driver or perhaps something specific to WFS. |
Steve, I can reproduce with one of the msautotest mapfile :
|
@sdlime Seems that the 2015 in "2015-05-28T00:00:00" is parsed as MS_TOKEN_LITERAL_NUMBER and not MS_TOKEN_LITERAL_TIME. Must come from the expression overhaul |
@ger-benjamin can you give @rouault's fix a spin? --Steve |
I've tested and now it works fine, thank you and thank you very much for your rapidity ! |
@rouault's fix made it into the 7.0 branch and into master so it's good to go. Thanks for testing! --Steve |
…as numeric on Linux (MapServer#5104)
…te escaping for Date fields (MapServer#5104)
In MS7 (7.0.0~beta1) I've tried to do some GetFeatures queries with a "date" type but it crashes systematically.
The sended SQL query (to Postgres 9.1, PostGIS 1.5) is not well formed :-/
The datatype
The GetFeature request
The response
The corresponding Postgres logs
I've tested the same request on a 6.0.1-3.2 MapServer and it works correctly.
Perhaps this issue is the same as the #5102
The text was updated successfully, but these errors were encountered: