Scheduled Disable expired relationships has run succesfully according to the date/time I see in the Scheduled job table. I see a relationship in the disabled relationship section that has an End date older than today, so that seems to work. What I don't understand is that it is still marked "Enabled" in view and edit.
Also when I do an api call on the relationship mentioned before it returns it as an active relationship even though it is expired:
$result = civicrm_api3('Relationship', 'get', array(
'sequential' => 1,
'is_active' => 1,
'id' => 56276,
));
Response:
{
"is_error": 0,
"version": 3,
"count": 1,
"id": 56276,
"values": [
{
"id": "56276",
"contact_id_a": "24943",
"contact_id_b": "20992",
"relationship_type_id": "14",
"start_date": "1995-01-01",
"end_date": "2004-01-01",
"is_active": "1",
"description": "Support Branch",
"is_permission_a_b": "0",
"is_permission_b_a": "0",
"custom_24": "Res",
"custom_71": {
"S": "S"
},
"custom_71_26513": {
"S": "S"
},
"custom_24_26513": "Res"
}
]
}
How should I understand this? As a bug or a feature? What does the "Enabled" tick box in fact mean? Should I understand it as separate from the start and end date as kind of "override" function?
CiviCRM version is 4.6.27. In case it was a bug, has it been fixed meanwhile?