Letractively / dotnetkicks

Automatically exported from code.google.com/p/dotnetkicks
1 stars 0 forks source link

Could not find story bug #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Guys,

Just experienced this. Wasn't logged in, went to upcoming stories, clicked
on add comment, it took me to the story page where it had a link to log in
(in order to comment). Logged in and it returned me to a page saying the
story could not be found.

John

Original issue reported on code.google.com by john.man...@gmail.com on 22 Sep 2007 at 10:19

GoogleCodeExporter commented 9 years ago
Hi,

What was the story? Can you reproduce this?

Thanks,
Gavin

Original comment by gavinjo...@gmail.com on 22 Sep 2007 at 10:22

GoogleCodeExporter commented 9 years ago
Hi Gavin,

Just reproduced this.

1) Logout (if you are logged in)
2) From the homepage click on the upcoming stories link
3) Scroll down until you get to the "JavaScript Tips for ASP.NET Developers" and
click on the add comment link.
4) You get taken to the story page and below the story you are presented with a 
link
to login. Click the login link.
5) Enter you details and submit.

You are then redirected to :

http://www.dotnetkicks.com/missingstory

Original comment by john.man...@gmail.com on 22 Sep 2007 at 10:48

GoogleCodeExporter commented 9 years ago
Thanks, I can reproduce this. The Request.Url was being used which returns the 
URL
after rewriting happens. I have updeted the AddComment control to use 
Request.Path
wshic returns the path before Url rewriting.

Fixed for SVN revision 404 (nice coincidence!)

Original comment by gavinjo...@gmail.com on 22 Sep 2007 at 10:59

GoogleCodeExporter commented 9 years ago
Hi Gavin, is this my fault?

Original comment by simone.b...@gmail.com on 22 Sep 2007 at 12:06