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 1240: make sitemap render more resilient #1364

Merged
merged 2 commits into from
Oct 8, 2018

Conversation

dodie
Copy link
Contributor

@dodie dodie commented Oct 7, 2018

Description of change

Make the sitemap generation script resilient. It will ignore elements in the layout.json that it can't handle.

Fixes #1240

Fixed a typo in the JSON scheme checking function that prevented
to get meaningful error messages in the console.log when the JSON
contained unexpected elements.
Changed the sitemap generation to ignore entries in the layout that it
can't handle.
@ChristianMurphy ChristianMurphy added this to the 5.2.4 milestone Oct 7, 2018
Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @dodie!

@ChristianMurphy ChristianMurphy added enhancement Improvement and removed bug labels Oct 7, 2018
@ChristianMurphy ChristianMurphy merged commit 36d2092 into uPortal-Project:master Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants