Open herihaja opened 8 months ago
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.
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.