Skip to content

Fix 404 on /releases/feed #784

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

Merged
merged 1 commit into from
May 29, 2020
Merged

Fix 404 on /releases/feed #784

merged 1 commit into from
May 29, 2020

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented May 29, 2020

Handlebars removed the obj[0] notation in 0.25: sunng87/handlebars-rust@779df98#diff-e0934bb6f70a4f8c3baf22a773c14ec7L35

Closes #782

r? @Kixiron

This also uncovered that we handle failure pretty badly in impl Handler for CratesfyiHandler, we always return the first error encountered even if it was a 404, ignoring all future errors. This should be fixed, but I want to get this fix in first.

@jyn514

This comment has been minimized.

fn release_feed() {
wrapper(|env| {
let web = env.frontend();
assert_success("/releases/feed", web)
Copy link
Member

Choose a reason for hiding this comment

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

Can we also add tests for the content by adding fake releases? This can be done in a followup PR though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I'll add that in a follow-up.

@Kixiron Kixiron mentioned this pull request May 29, 2020
@jyn514 jyn514 merged commit f6cd70b into rust-lang:master May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feed page 404
3 participants