|
@@ -153,6 +153,16 @@ class D7NodeBreve extends FieldableEntity {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // make sure that field_source url is absolute
|
|
|
+ $field_source = $row->getSourceProperty('field_source');
|
|
|
+ if(isset($field_source[0]['url'])){
|
|
|
+ $url = $field_source[0]['url'];
|
|
|
+ if(!strpos($url, 'http://')){
|
|
|
+ $field_source[0]['url'] = 'http://'.$url;
|
|
|
+ $row->setSourceProperty('field_source', $field_source);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// workflow
|
|
|
$query = $this->select('workflow_node', 'wn');
|
|
|
$query->fields('wn', ['sid']);
|