Commit 8c66e797 authored by jaapjansma's avatar jaapjansma

update

parent e7e4be26
......@@ -24,20 +24,6 @@ class EventParticipantsFieldOutputHandler extends AbstractSimpleFieldOutputHandl
*/
protected $role_ids = array();
/**
* @return \Civi\DataProcessor\DataSpecification\FieldSpecification
*/
public function getOutputFieldSpecification() {
return $this->outputFieldSpec;
}
/**
* @return \Civi\DataProcessor\DataSpecification\FieldSpecification
*/
public function getSortableInputFieldSpec() {
return $this->inputFieldSpec;
}
/**
* Returns the data type of this field
*
......
......@@ -71,9 +71,9 @@ class GroupsOfContactFieldOutputHandler extends AbstractFieldOutputHandler {
if (!$this->contactIdSource) {
throw new DataSourceNotFoundException(E::ts("Field %1 requires data source '%2' which could not be found. Did you rename or deleted the data source?", array(1=>$title, 2=>$configuration['datasource'])));
}
$this->contactIdField = $this->caseIdSource->getAvailableFields()->getFieldSpecificationByAlias($configuration['field']);
$this->contactIdField = $this->contactIdSource->getAvailableFields()->getFieldSpecificationByAlias($configuration['field']);
if (!$this->contactIdField) {
$this->contactIdField = $this->caseIdSource->getAvailableFields()->getFieldSpecificationByName($configuration['field']);
$this->contactIdField = $this->contactIdSource->getAvailableFields()->getFieldSpecificationByName($configuration['field']);
}
if (!$this->contactIdField) {
throw new FieldNotFoundException(E::ts("Field %1 requires a field with the name '%2' in the data source '%3'. Did you change the data source type?", array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment