r888888888/danbooru — Issue #265: Comment linkage destinations missing/incorrect
Author: barneydesmond
Created: 2012-01-09 12:24:48+00:00
State: open

(I'm assuming that a corpus of images was imported from danbooru to testbooru, if not the whole lot).

Viewing this post, there are two comments:
http://testbooru.donmai.us/posts/911

葉月's ("Hazuki") comment contains a link to an existing comment, no. 20395. Following this link (http://testbooru.donmai.us/comments/20395) returns a rails-404. It should, at the very least, return a styled 404 from the app.

Comparing this to the live danbooru, it looks like a lot of routes have changed as part of the rewrite.

The original:
http://danbooru.donmai.us/post/show/911

And its working link to the comment in question:
http://danbooru.donmai.us/comment/show/20395

Playing around a bit, I can't discern what the correct rails route should be. Using a danbooru1-style route results in a rewrite to the danbooru2-style route, but that of course is still broken.

Trying to confirm this on the live danbooru (using danbooru2-style routes), I also found differing behavior between these two URLs :/

http://danbooru.donmai.us/comments/20395 (no 404 image)
http://danbooru.donmai.us/comments/1 (404 image is present)