Skip to content

null input value handing inconsistencies #749

Closed
@pb66

Description

On emoncms.org both of these work correctly

https://emoncms.org/input/bulk.json?data=[[0,30,11,null,null,null,55]]
https://emoncms.org/input/post?node=30&csv=11,null,null,null,55

but on emoncms local

https://myserver.com/input/bulk.json?data=[[0,31,11,null,null,null,55]]

works ok where as

https://myserver.com/input/post?node=30&csv=11,null,null,null,55

returns

{"success": false, "message": "Format error: csv value is not numeric"}

whilst it is correct null is not numeric, it does not cause an error via the bulk api, nor does it cause an error with the same api on emoncms.org.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions