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

Fix XML parser warning handling in RssWidget #14941

Merged
merged 2 commits into from Oct 2, 2019
Merged

Fix XML parser warning handling in RssWidget #14941

merged 2 commits into from Oct 2, 2019

Conversation

yurihs
Copy link
Contributor

@yurihs yurihs commented Oct 2, 2019

Hi! This should fix #14814.

I had to temporarily set an error handler to promote the warnings generated by simplexml_load_string() to exceptions. That way, they're handled gracefully.

Please let me know if this can be improved.

@tsteur tsteur added the Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. label Oct 2, 2019
@tsteur tsteur added this to the 3.12.0 milestone Oct 2, 2019
@tsteur
Copy link
Member

tsteur commented Oct 2, 2019

Cheers @yurihs very appreciated 👍

@tsteur tsteur merged commit f64e2e2 into matomo-org:3.x-dev Oct 2, 2019
@yurihs yurihs deleted the 14814-fix-rss-warning-handling branch October 2, 2019 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle broken RSS feed more gracefully
2 participants