Open flipmcf opened 5 years ago
With complete disregard for others, I'd just rip out syndication.AudioFeedItem - I think it was incorrectly implemented.
@pigeonflight Can I get a replication of the bug?
I think this problem is with socialtags viewlet assuming all fields / behaviors with the 'file_url' property are images, or implementing the file_url property on our type. Most likely the former.
Socialtags should check if a type provides / object implements IImage before using it in social tags as an image.
Why audio is preferred when putting both a lead image and audio fields into a type is an interesting question. I have not tried reordering the fields, but my audio field is after the lead image field.
This is why I believe commenting this out for now was a good idea, Unless it breaks youtube uploads for some reason - this was the name of the huge commit that introduced syndication.
Add the LeadImage behavior to a content type, and add an image. Social Tags behave as expected.
Additionally, add the Audio behavior, and the image social tags start getting the audio filename instead of the Image filename.
Without Behavior enabled:
With behavior enabled: