This comment has been minimized.

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 ....<Literal></Literal>, which I am guessing is NULL and causes the issue.

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 ....<Literal></Literal>, which I am guessing is NULL and causes the issue.

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.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mapserver/mapserver/issues/5347#issuecomment-259848838, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABhm-y-85BrnoVj-30dUEtzVjAL_cq_hks5q87brgaJpZM4KuvxB.

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.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mapserver/mapserver/issues/5347#issuecomment-259848838, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABhm-y-85BrnoVj-30dUEtzVjAL_cq_hks5q87brgaJpZM4KuvxB.

This comment has been minimized.

@sdlime from further testing (see my updated comments in this ticket, which likely do not get emailed to you as updates). The strlen error message may be a false positive. It's indeed a mappostgis.c specific issue of handling NULL <Literal> values as part of filter translation.

@sdlime from further testing (see my updated comments in this ticket, which likely do not get emailed to you as updates). The strlen error message may be a false positive. It's indeed a mappostgis.c specific issue of handling NULL <Literal> values as part of filter translation.

…). Implement PropertyIsNull for those layers (#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 (#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 (#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)