[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
Tue Apr 14 05:33:26 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp closed ASTERISK-28781.
-------------------------------------
Resolution: Fixed
The underlying change has now been reverted, and this issue linked in case the original issue is revisited.
> 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