Submit failed: resolution required: A valid resolution is required to mark bugs as RESOLVED.... requires specific steps to avoid. TL;DR solution and notes after the break.
The steps:
- Ensure notes saved & submitted
- Ensure good status and fully synchronized, i.e:
- Ensure status IN_PROGESS (CONFIRMED known to work too)
- Submit
- Synchronize incoming changes
- Resolve as - FIXED
- Ensure all but status change saved (e.g. notes saved),
- Discard outgoing changes
- Do a full repository synchronize
- [potentially synchronize incoming changes -- should be unlikely!]
- Set status FIXED
- Submit
- With status as FIXED (which we know fails)
- Set status back to IN_PROGRESS (yes, not discard!)
- Submit (yes, submit the same status it already is)
- Set status to FIXED
- Submit!
Investigation notes
That seems to be it. Can't say I'm happy with this but it works for now.
Here follow some notes from investigating in case useful to others / future-me...
- Applying Wireshark:
- POST /bugzilla/process_bug.cgi HTTP/1.1
- Some interesting parameters passed:
- bug_id=
everconfirmed=
resolution=
bug_status=
resolve=
resolutionInput=
dependson=
dup_id=
classification_id=
... (lots of other params) - The blank "resolution" and set "resolve" and "resolutionInput" fields are interesting.
- Determined working steps above. Now...
- Difference between FAIL and SUCCESS:
Field Fail Succeed resolution (blank -- present but no value) FIXED resolve FIXED (field absent) (others same) bug_status RESOLVED (same) resolutionInput FIXED (same) everconfirmed 1 (same) ... - http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html#update
- 121 (Resolution Required)
You tried to set the status field to a closed status, but you didn't specify a resolution. - (yup, that agrees with my table above)
- http://www.bugzilla.org/docs/tip/en/html/parameters.html
- noresolveonopenblockers
This option will prevent users from resolving bugs as FIXED if they have unresolved dependencies. Only the FIXED resolution is affected. Users will be still able to resolve bugs to resolutions other than FIXED if they have unresolved dependent bugs. - Could see this being potential factor but not for my situation
No comments:
Post a Comment