[Geoserver-devel] [JIRA] (GEOS-8362) <encodeIfEmpty> fails on empty strings

Gavin Medley created an issue

GeoServer / BugGEOS-8362

<encodeIfEmpty> fails on empty strings

Issue Type:

BugBug

Affects Versions:

2.12.0

Assignee:

Unassigned

Components:

Application schema

Created:

23/Oct/17 11:20 PM

Environment:

Ubuntu 16.04 LTS
Tomcat 7.0.26
openjdk version “1.8.0_111”
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~12.04-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
Geoserver 2.12.0
Application Schema Extension
PostGIS database

Priority:

MediumMedium

Reporter:

Gavin Medley

Elements are not encoded by App Schema when the database field is blank. Specifically, the problem arises when the field being mapped contains an empty string (‘’). i.e. it’s not a null value but it is empty so it doesn’t appear, even when I use &lt;encodeIfEmpty&gt;true&lt;/encodeIfEmpty&gt;

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100067-sha1:44753d7)

Atlassian logo