Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build archival package failing #2

Open
jefferya opened this issue May 25, 2024 · 0 comments
Open

Build archival package failing #2

jefferya opened this issue May 25, 2024 · 0 comments

Comments

@jefferya
Copy link
Contributor

jefferya commented May 25, 2024

Location: https://github.com/mjordan/islandora_bagger/pull/94/files#diff-0f6e8788c533961b891274a6b62644a7aaa08816544418f8ac74af674efd26aeL74

Change:

  • from: $file_uri = $this->settings['drupal_base_url'] . '/entity/file/' . $media['field_media_file'][0]['target_id'];
  • to: $file_uri = $this->settings['drupal_base_url'] . '/entity/file/' . $media[$media_source_field][0]['target_id'];

Example:

   "field_media_document": [
        {
            "target_id": 108,
            "display": null,
            "description": null,
            "target_type": "file",
            "target_uuid": "9de85d28-b159-4308-bb93-39ba1712e6f6"
        }
jefferya added a commit to jefferya/islandora_bagger that referenced this issue May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant