-
Notifications
You must be signed in to change notification settings - Fork 621
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
The crate view page is empty when the only difference to a published crate is -
vs _
#10368
Comments
@eth3lbert could this be caused by one of your latest refactorings? the API call seems to return the right thing, but the frontend then crashes afterwards. |
Thank you for the report. I will look into this as soon as I get back to my computer. |
Another case I just encountered while looking at rust-lang/cargo#2775 which causes the browser to hang and slowly causes OOM, which is probably related: |
I just bisected a bit and it seems it failed at HEAD is now at bbe5345 Update dependency ember-data to v5 (#10355) 😅 After upgrading, the name requested ( Before: ![]() After: ![]() |
argh okay... I wonder if using in any case, we should probably add a test case for this 😅 |
I guess we could just redirect to the route with correct name? |
I've opened a PR to fix it: #10369
unfortunately this appears to be non-trivial to implement at first glance |
Current Behavior
Documentation pages for nonexistent crates like serde-json or proc_macro2, where the only difference in the name is that
_
was used but the crate name uses-
(and the other way around) do not contain a 404 info (serde-json: Crate not found
)and are empty, compared to a non-existing crate that works fine.
Expected Behavior
A 404 message like for other non-existing crates or ideally also a note that a similar crate with different usage of
-
or_
exists.Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: