-
-
Notifications
You must be signed in to change notification settings - Fork 381
fix segfault on WFS filters with empty Literals #5347
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
Comments
What's the underlying layer type for totalozoneobs? |
PostgreSQL/PostGIS |
Can you post (or send me) foo.map? |
@sdlime minimal test map: foo.map
Sample request based on above test case:
|
Beautiful, thank you... |
Weird, on another box I'm unable to reproduce (works fine) against either master or branch-7-0. Ah, ok. Digging deeper, it appears that this bug manifests on systems where |
I tested this again just now, it turns out the CSV minimal case does indeed work so it looks like a PostGIS string handling issue when someone passes |
So what systems typically don't have strlen available? From: Tom Kralidis [notifications@github.com] Weird, on another box I'm unable to reproduce (works fine) against either master or branch-7-0. Ah, ok. Digging deeper, it appears that this bug manifests on systems where strlen is not available. — |
@sdlime from further testing (see my updated comments in this ticket, which likely do not get emailed to you as updates). The |
…). Implement PropertyIsNull for those layers (MapServer#5347) The PropertyIsNull is handled through a hack that consists in emulating it as a PropertyIsEqualTo "_MAPSERVER_NULL_" comparison. This is only done for PostGIS and Spatialite layers. CREDITS: Funded by: Regione Toscana - Settore Sistema Informativo Territoriale ed Ambientale (CIG: 644544015A)
…). Implement PropertyIsNull for those layers (MapServer#5347) The PropertyIsNull is handled through a hack that consists in emulating it as a PropertyIsEqualTo "_MAPSERVER_NULL_" comparison. This is only done for PostGIS and Spatialite layers. CREDITS: Funded by: Regione Toscana - Settore Sistema Informativo Territoriale ed Ambientale (CIG: 644544015A)
…). Implement PropertyIsNull for those layers (MapServer#5347) The PropertyIsNull is handled through a hack that consists in emulating it as a PropertyIsEqualTo "_MAPSERVER_NULL_" comparison. This is only done for PostGIS and Spatialite layers. CREDITS: Funded by: Regione Toscana - Settore Sistema Informativo Territoriale ed Ambientale (CIG: 644544015A)
Fix segfault on WFS filters with empty literals (PostGIS + Spatialite). Implement PropertyIsNull for those layers (#5347)
Fixed per rouault@4cb057c |
Testing for 'not empty' literals returns 500 / segfault on 7.0.2. Worked in 6.4.x:
The text was updated successfully, but these errors were encountered: