Skip to content

WIP: fixed hardcoded enclosure on AudioFeedItem#63

Open
pigeonflight wants to merge 1 commit intomasterfrom
fix_audio_enclosure
Open

WIP: fixed hardcoded enclosure on AudioFeedItem#63
pigeonflight wants to merge 1 commit intomasterfrom
fix_audio_enclosure

Conversation

@pigeonflight
Copy link
Copy Markdown
Member

has_enclosure is hardcoded for AudioFeedItem but not for VideoFeedItem.
see:
https://github.com/collective/wildcard.media/blob/master/wildcard/media/browser/syndication.py#L11-L13

This breaks social tags on plone.app.layout 2.5.x on In Plone 5.0.x.
Resulting in an
"error while rendering plone.htmlhead.socialtags" on Plone 5.0.x

This pull request fixes the issue by providing a proper has_enclosure for AudioFeedItem

I've marked it WIP as I need to add some tests etc...

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.

1 participant