metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Values.valueToJsonObject() shall return JSONNullValue instead of null #818

Closed metas-ts closed 6 years ago

metas-ts commented 6 years ago

Is this a bug or feature request?

FR

What is the current behavior?

currently, this function might return null. For me that's a problem, because

Note that my particular problem could be handles in other ways, but i think if we have that method and we have JSONNullValue, then let's use it to avoid returning null

metas-ts commented 6 years ago

cherry-picked to 2018-06

metas-lc commented 6 years ago

found related issue when you pick more than you ordered https://github.com/metasfresh/metasfresh-webui-api/issues/847

metas-rc commented 6 years ago

Nothing to IT. Moving this to Done.