matiasmiranda β created an issue.
matiasmiranda β created an issue.
The patch works, but I don't think it's the correct approach here, we're simply ignoring an error and/or misconfiguration issue.
In my opinion this should be fixed by configuring correctly the file-system options and directory permissions.
Thanks, I'll try to add the tests.
for now I attach a patch in case referencing gitlab causes issues in composer.
I attach a patch in case referencing gitlab causes issues.
I created a PR to call a hook that allow get the FID on AcquiaDAM Assets fields
example for a referenced Media that have a field named as field_acquiadam_asset_document
referencing Acquia DAM Assets
/**
* Implements hook_search_api_attachments_get_fid().
*/
function example_module_search_api_attachments_get_fid(MediaInterface $media) {
if ($media->hasField('field_acquiadam_asset_document')) {
return $media->get('field_acquiadam_asset_document')->target_id;
}
return NULL;
}
matiasmiranda β created an issue.
I sent a MR
matiasmiranda β made their first commit to this issueβs fork.
I sent a PR adding the proposed hook.
matiasmiranda β created an issue.