Fernando Miño created an issue |
WFS GeoJSON complex features output issue on numeric typed xml attributes |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.16.0 |
Assignee: |
|
Components: |
Application schema |
Created: |
10/Feb/20 5:46 PM |
Priority: |
Medium |
Reporter: |
When GeoJSON encoder tries to handle an xml attribute with other type than string, in this case an integer, Geoserver throws a class cast exception due to complex GeoJSON writer is handling all xml attributes as string. On GML output this issue is not present and numeric typed attributes are encoded without exceptions. This was reproduced using a app-schema jdbc multi value element with an integer typed attribute and executing a WFS GetFeature requesting GeoJSON output. |
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#100119-sha1:6c3d6e9) |