Closed (fixed)
Project:
Video Embed Field
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
6 Jun 2016 at 19:48 UTC
Updated:
21 Jun 2016 at 07:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
royal121 commentedComment #3
sam152 commentedThat makes sense. We've looked at this before and the check:
> !$media_bundle->isSyncing()
Is meant to catch the case where config is being imported, but I think it's worth being more defensive and checking the media entity config as well.
Lets use the getTypeConfiguration method instead.
Can we also check the specific "source_field" configuration option? If somehow media bundles are created in the future with some default configuration, this would break.
Comment #4
sam152 commentedComment #5
royal121 commentedComment #6
slashrsm commentedLooks good to me.
Comment #7
sam152 commentedThanks for your efforts.
Comment #8
sam152 commentedComment #10
sam152 commented