What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Something is messed up with the Data Explorer and how it is resolving URLs.

Currently, URLs like this http://odata.stackexchange.com/stackoverflow/q/1928 all end up at the Page Not Found page with this as the redirected URL: http://data.stackexchange.com/stackoverflow/query/System.Collections.Generic.List%601[System.Int32]

It seems to be related to /q/[id] format not getting properly expanded to /query/[id]?

In particular, all the links on this question are broken.


After additional investigation, this URL gives a runtime error.

I found this out when trying to get to the first query linked to in this post by replacing the /q/ with /query/.

I'm not sure, but the issues seem to be related. (or possibly errors just are not being handled well.)

share|improve this question
    
fixed now ... sorry about that –  waffles Jan 13 '12 at 23:11
add comment

1 Answer

up vote 2 down vote accepted

The redirect issue was due to a missing .First() call that waffles has now taken care of.

Just replacing the /q/ with /query/ isn't how that redirection works, which is why you received an error when you tried to transform the URL manually (the ID you specified is invalid for the new URL form). That should be handled more gracefully than with a server error page though, so I've put out a change to return the 404 page instead if the ID was invalid. If it gets pulled, you'll see Edgar F. Codd instead of the ugly internal error page.

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .