[asterisk-bugs] [JIRA] (ASTERISK-28781) res_config_odbc: Sorcery doesn't set default value if the ODBC realtime value is blank

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Mar 18 04:44:25 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28781:
--------------------------------------

    Status: Open  (was: Triage)

> res_config_odbc: Sorcery doesn't set default value if the ODBC realtime value is blank
> --------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-28781
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28781
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Sorcery, Resources/res_config_odbc
>    Affects Versions: 13.32.0, 16.9.0, 17.3.0
>            Reporter: Alexei Gradinari
>
> This patch https://gerrit.asterisk.org/c/asterisk/+/13710 
> changed behavior of ast_sorcery_object_field_register.
> In version 16.8.0 it doesn't matter if DB value is NULL or blank (""), sorcery sets default value.
> In version 16.9.0
> if the DB value is NULL then sorcery sets default value.
> if the DB value is blank then sorcery does not set default value.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list