cambridgemike / agile-testing-extension

Quickly and easily submit new issues to a github repository
12 stars 4 forks source link

File not attached #6

Open greenrd opened 12 years ago

greenrd commented 12 years ago

I tried to attach a file when adding a comment to https://github.com/harrah/xsbt/issues/307 , but no file was attached.

What happened was:

  1. I chose the file
  2. I was asked to grant access
  3. I granted access
  4. The grant access button went green
  5. I was puzzled about what was supposed to happen next
  6. I switched back to the issue tab, and chose the file again
  7. I submitted my comment.
  8. No file was attached to the comment.
greenrd commented 12 years ago

Let's try attaching the same file here.

greenrd commented 12 years ago

Nope, that didn't work either.

cambridgemike commented 12 years ago

Hi, thanks for posting an issue for this. Are you on mac or windows?

cambridgemike commented 12 years ago

Can you right click on the website and select "Inspect Element" from the bottom, then try to upload the file again? Check if there are any javascript errors (in the Console tab).

Thanks for helping debug!

cambridgemike commented 12 years ago

Testing if I can reproduce...

doesn't look like it

[Screen shot 2011-12-16 at 9.29.24 AM.png](https://github.com/downloads/cambridgemike/agile-testing-extension/Screen shot 2011-12-16 at 9.29.24 AM.png)

cambridgemike commented 12 years ago

Is the file you're trying to upload particularly large? Maybe try a small .txt file.

greenrd commented 12 years ago

I'm on Linux actually.

I do get an error!

POST https://api.github.com/repos/cambridgemike/agile-testing-extension/downloads?access_token=4ad32bfc9af1314d884864356e67b4491a6b722 404 (Not Found)

f.support.ajax.f.ajaxTransport.sendchrome-extension://kameeinbjnhfgamlnaofmcicajelchjn/jquery.min.js:18 f.extend.ajaxchrome-extension://kameeinbjnhfgamlnaofmcicajelchjn/jquery.min.js:18 GitHub.postchrome-extension://kameeinbjnhfgamlnaofmcicajelchjn/githubapi.js:133 GitHub.createDownloadchrome-extension://kameeinbjnhfgamlnaofmcicajelchjn/githubapi.js:117 (anonymous function)chrome-extension://kameeinbjnhfgamlnaofmcicajelchjn/issue_context.js:45 chromeHidden.onLoad.addListener.chrome.extension.sendRequestextensions/renderer_extension_bindings.js:261 chrome.Event.dispatchextensions/event.js:179 chromeHidden.Port.dispatchOnMessageextensions/renderer_extension_bindings.js:164

cambridgemike commented 12 years ago

hah, fascinating. Let me look into this one for a minute. Oh maybe you can only post downloads to a repository if you are an owner? The API documentation was pretty sparse.

greenrd commented 12 years ago

Any news on this? Does it only work when logged in as you?