You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "michael elbaz (JIRA)" <ji...@apache.org> on 2018/11/15 20:05:00 UTC

[jira] [Updated] (CAMEL-12941) Null as default value for string

     [ https://issues.apache.org/jira/browse/CAMEL-12941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

michael elbaz updated CAMEL-12941:
----------------------------------
    Description: From 2.18.0 the default value for empty string is "" and it is not possible to set default string value to null please provide a way to do that, maybe the good solution is to set the default value to null when empty and provide the ability to change this with the annotion parameter 'defaultValue' ([related subject|https://stackoverflow.com/questions/38246684/how-to-set-defaultvalue-parameter-in-datafield-camel-annotation-to-empty-string])  (was: From 2.18.0 the default value for empty string is "" and it is not possible to set default string value to null please provide a way to do that, maybe the good solution is to set the default value to null when empty and provide the ability to change this with the annotion parameter 'defaultValue')

> Null as default value for string
> --------------------------------
>
>                 Key: CAMEL-12941
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12941
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-bindy
>    Affects Versions: 2.22.1
>            Reporter: michael elbaz
>            Priority: Major
>
> From 2.18.0 the default value for empty string is "" and it is not possible to set default string value to null please provide a way to do that, maybe the good solution is to set the default value to null when empty and provide the ability to change this with the annotion parameter 'defaultValue' ([related subject|https://stackoverflow.com/questions/38246684/how-to-set-defaultvalue-parameter-in-datafield-camel-annotation-to-empty-string])



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)