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
Rails backtrace: TypeError in Posts#show #278
Comments
Spot checks and a bit of bisection suggests all the oldest posts up through 660 have this. |
Additionally, fetching it from the API fails with def fetch_revision_count(post = nil)
post ||= self
# ⬇️ this line here
params = "key=#{AppConfig['stack_exchange']['key']}&site=#{post.site.site_domain}&filter=!mggE4ZSiE7"
url = "https://api.stackexchange.com/2.2/posts/#{post.stack_id}/revisions?#{params}"
revision_list = JSON.parse(Net::HTTP.get_response(URI.parse(url)).body)['items'] |
We don't have the information we need to find out which sites these old posts were from; unless anyone can think of some way to do that, I'm gonna close this. |
Reopening - we can't see what site it's from, but the display page should probably handle that case properly. Unless we want to call it wontfix on the display side, which... I wouldn't be opposed to. |
That we can do :) |
https://metasmoke.erwaysoftware.com/post/515 gives me a backtrace:
The text was updated successfully, but these errors were encountered: