-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.1
-
MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
- Switch RSS on at server level for forums
- Create a forum with RSS switched on and follow the RSS link
- Delete the forum
- Refresh the RSS link
- Confirm you don't see an error
As pointed out in MDLSITE-3067, exceptions are raised if a client attempts to access an RSS feed for a context that no longer exists.
The root cause of this is that /rss/file.php is calling get_context_info_array() which uses MUST_EXIST so throws an exception.
It would be good if this was caught and a 404 response returned.
To replicate:
- Switch RSS on at server level for forums
- Create a forum with RSS switched on and follow the RSS link
- Delete the forum
- Refresh the RSS link
- You should see an error
- will help resolve
-
MDLSITE-3067 dml_exceptions flooding logs during rss
-
- Closed
-