Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects versions: 1.6.2, 1.6.3
-
Fix versions: None
-
Components: Core Libraries, Services
-
Labels:None
Description
In app/models/ca_metadata_elements.php line 399.The service name enter under the 'settings' in the element_info.
$va_element_info['settings'] = $this->getSettings();
In app/lib/ca/Attributes/Values/InformationServiceAttributeValue.php line 373. He is look for the 'service' in the root.
$vs_service = isset($pa_element_info['service']) ? $pa_element_info['service'] : null;
Because he could not find it inserts the first value.
It should be like this
$vs_service = isset($pa_element_info['settings']['service']) ? $pa_element_info['settings']['service'] : null;
$va_element_info['settings'] = $this->getSettings();
In app/lib/ca/Attributes/Values/InformationServiceAttributeValue.php line 373. He is look for the 'service' in the root.
$vs_service = isset($pa_element_info['service']) ? $pa_element_info['service'] : null;
Because he could not find it inserts the first value.
It should be like this
$vs_service = isset($pa_element_info['settings']['service']) ? $pa_element_info['settings']['service'] : null;