Closed Invalid RSS feed item errors indefinitely

mattrogowski

Well-known member
Licensed customer
Affected version
2.2.7
We have an RSS feed set up to post a thread that is erroring with Error posting feed entry <id> for feed 11: Please enter a valid message. every 30 minutes.

After tracking it down it's failing somewhere in the bbcode renderer. XF\Service\Message\Preparer::processMessage() calls $this->bbCodeProcessor->render() and returns nothing.

It probably needs to either capture that the validation has failed and skip it or track how many times it's been attempted and skip it when it calls if (!$creator->validate($errors)). Currently the only way to stop it erroring is to manually add an entry to xf_feed_log.

This is happening on a board running 2.2.7, but I can't see any changes to the feed reader system since then that would handle this. If that's incorrect and it has been handled somewhere please let me know.
 
If you could let us know the feed URL and the entry you believe is causing this we’ll check it out.
 
Automated triage: Design issue

Thank you for reporting this issue. An RSS entry that can't be posted is not marked as handled, so it is retried and logged on every import run. That is how the importer is built to handle failures, so changing it would be a design change. We could not find why this entry's message came out empty, and the same entry imported normally on a newer version.

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom