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

Compatibility issue with newer version of the package feed-io #218

Open
herihaja opened this issue Feb 13, 2024 · 1 comment
Open

Compatibility issue with newer version of the package feed-io #218

herihaja opened this issue Feb 13, 2024 · 1 comment

Comments

@herihaja
Copy link

When using a newer version of feed-io, the current version of rss-atom-bundle throws an error. This occurs because the 'description' field is no longer present in the entity FeedIo\Feed\Item.

@ttk
Copy link

ttk commented Jul 16, 2024

I ran into the same issue. The problem is that MockProvider::addItem() calls $item->setDescription() which is only available in debril/feed-io:~4.0. In debril/feed-io:>=5.0, it's been renamed to $item->setContent().

As a quick fix, you can just patch your local version so the mock feed renders. However, once you implement your custom feed provider, this should no longer be an issue.

Ideally, this bundle should be updated to work with the latest version of the debril/feed-io library.

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

2 participants