Skip to content

Fixed Media Components causing Imports to Partially Fail when Not Found#116

Open
austinnebel wants to merge 1 commit into
Baboo7:masterfrom
austinnebel:media-fix
Open

Fixed Media Components causing Imports to Partially Fail when Not Found#116
austinnebel wants to merge 1 commit into
Baboo7:masterfrom
austinnebel:media-fix

Conversation

@austinnebel

Copy link
Copy Markdown

This fixes errors related to media components that cause imports to partially fail by implementing the following workarounds:

  • If a field contains a single media element, and that media element is not found, the field is removed from the import.
  • If a field can contain multiple media components, all media elements that are not found in the field are removed from the import.

Also, when a matching media element was found on the target DB, their ID's were not being mapped to on another before create/update calls. This fixes that issue by updating the ID to the mapped ID in setComponents .

- Fixed media element not properly mapping IDs
- If a media element is not found, the field is removed from the import
- When a field can contain multiple media components, all media elements that are not found in the field are removed from the import
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

Successfully merging this pull request may close these issues.

2 participants