Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
In CRM/Admin/Form/Setting/Miscellaneous.php file the condition: "if ($config->logging != $values['logging']) " is always failing, because config initialization updates config->logging before comparison could happen.
Reason: in CRM/Admin/Form/Setting.php postprocess v4.3 uses CRM_Core_BAO_ConfigSetting::create() against CRM_Core_BAO_ConfigSetting::add() in v4.2, done as part of CRM-10040.
Solution: config should be initialized before exportValues() in CRM/Admin/Form/Setting/Miscellaneous.php postprocess.