Closed Bug 788870 Opened 13 years ago Closed 13 years ago

Bugzilla reports dup_id as missing, when the bug_status is missing

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

4.0.8
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: bhourigan, Unassigned)

Details

When I was posted a bug assignment directly to the .cgi I forgot to include the bug_status field. Bugzilla wrongly reported that the "dup_id" parameter was missing.
Which URL did you use? You are supposed to be blocked by the token check anyway.
Severity: normal → minor
I hit https://bugzilla.mozilla.org/process_bug.cgi. I loaded the html, parsed the token, and re-submitted with the token as part of the POST parameters.
Bugzilla behaves correctly. If you don't set bug_status but set dup_id, then it correctly assumes that you want to mark the bug as duplicate. As you left dup_id empty, it complains that the dupe id is missing and throws an error. There is no reason to parse the HTML page to pass data to process_bug.cgi. If you don't want to use the web UI, use the WebService API instead.
Assignee: general → create-and-change
Status: NEW → RESOLVED
Closed: 13 years ago
Component: Bugzilla-General → Creating/Changing Bugs
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → INVALID
Version: unspecified → 4.0.8
You need to log in before you can comment on or make changes to this bug.