AppSchema JDBCMultipleValue directive fails to encode ClientProperties if targetValue is not specified

Description

An attributeMapping like this
<AttributeMapping>
<targetAttribute>st:info</targetAttribute>
<jdbcMultipleValue>
<sourceColumn>ID</sourceColumn>
<targetTable>INFO</targetTable>
<targetColumn>OWNER</targetColumn>
<targetValue></targetValue>
</jdbcMultipleValue>
<ClientProperty>
<name>xlink:href</name>
<value>LINK</value>
</ClientProperty>
</AttributeMapping>

should be supported but it generated a void xml element with gml output format, while rasing NPE with geoJSONoutput format

Environment

None

Activity

Show:
Marco Volpini
March 26, 2021, 4:59 PM
Edited

master pr

25.x backport

24.x backport

23.x backport

Fixed

Assignee

Marco Volpini

Reporter

Marco Volpini

Triage