Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Null string field values parsed as text 'null' #158

Closed
wabson opened this issue Jan 19, 2017 · 0 comments
Closed

Null string field values parsed as text 'null' #158

wabson opened this issue Jan 19, 2017 · 0 comments
Assignees
Milestone

Comments

@wabson
Copy link
Contributor

wabson commented Jan 19, 2017

Similar to #50 but for string values, when deserializing JSON data to a model instance, any string property values in the response are converted to the text 'null' on the returned instance.

Type of issue: (check with "[x]")

- [ ] New feature request
- [x] Bug  
- [ ] Support request

Current behavior:

Nulls returned as text 'null'

Expected behavior:

Null values should be returned as the null value

Steps to reproduce the issue:

Request a process instance where the businessKey property or any other is null. Debugging reveals that the property is null in the HTTP response object but when parsed it is converted to text.

Node version (for build issues):

New feature request:

@wabson wabson self-assigned this Jan 19, 2017
wabson pushed a commit that referenced this issue Jan 19, 2017
wabson pushed a commit that referenced this issue Jan 19, 2017
eromano pushed a commit that referenced this issue Jan 19, 2017
Fix parsing of null string values #158
@eromano eromano added this to the 1.1.0 milestone Jan 19, 2017
This was referenced Jan 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants