-
Notifications
You must be signed in to change notification settings - Fork 195
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
Filed issue details not displayed (because logged-in non-collaborator users cannot set milestones) #1851
Comments
@pavangudiwada thanks for the report! That seems bad. webcompat/web-bugs#12961 is the bug you filed, but for some reason the milestone wasn't set? |
But I see there are issues reported after that that succeeded: https://webcompat.com/issues/12969, for example. I wonder why this failed. I'll try to look in logs. |
webcompat/web-bugs#12970 is another instance where milestone wasn't set. 💣 |
I don't see anything weird in logs. I do see webcompat/web-bugs#12970 in
But that's just logging we got a bug report for that domain. Time to check webhooks logs. |
The webhook payload for 12970 creation worked: 954426c0-be42-11e7-8d18-0954797c7279 https://github.com/webcompat/web-bugs/settings/hooks/7890332 (it also had a browser-firefox label set correctly, so that seems normal) |
@karlcow any ideas? Maybe we should add some logging somewhere to see if setting the milestone ID fails during issue creation? Or hard-code the "needstriage" ID as a fallback? https://github.com/webcompat/webcompat.com/blob/master/webcompat/form.py#L248 |
That seems to be the issue here. When it works, and we get an issue creation webhook payload,
When it fails (twice we know about so far),
|
webcompat/web-bugs#12975 is another one that just failed. :( |
Hm, crazy theory -- are these only failing for github authed users? A quick search of webhook payloads suggests that might be true. |
Oh wait. This should fail for any non-collaborator, because the milestone is being set as the logged in user. We missed this because we were testing as ourselves, and we're collaborators. 🙈 We have to set the milestone as |
…estone in the payload. This changes the API endpoint and the method used.
Ah excellent find. <3 |
Thanks again for reporing @pavangudiwada! |
Went to webcompact and reported a bug the reported page is blank. I should have found the sharing option and other details.
The text was updated successfully, but these errors were encountered: