Bug filling from localhost should file bugs under https://bugzilla.allizom.org
Categories
(Tree Management :: Treeherder: Frontend, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: armenzg, Unassigned)
Details
Attachments
(1 obsolete file)
Alternatively, we could be at the "enter" page and let the user hit submit rather than filing directly.
I filed a bug from localhost by mistake in here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1619612
sclements: camd: do you have some pointers for this bug? Is this something a contributor could take? Are the bugs filed from the frontend using the credentials of the user signed in?
Comment 1•5 years ago
|
||
Yes, I agree - that would align with how prototype and stage is filing bugs.
It looks like the bugfiler class files bugs via an internal API bugzilla/create_bug
(BugzillaViewSet). That API uses the BUGFILER_API_KEY and BUGZILLA_API_URL env variables for filing bugs to bugzilla.
But there is not default value for the BUGFILER_API_KEY env variable [1] so I'm surprised you were able to file a bug - it should have thrown an error. Did you set your local .env file with all variables from one of our production instances?
Reporter | ||
Comment 2•5 years ago
|
||
I don't have any .env
file.
From your explanation of the code I can't picture how localhost was ever able to file a bug.
Reporter | ||
Updated•5 years ago
|
Updated•1 years ago
|
Description
•