Closed
Bug 853504
Opened 13 years ago
Closed 13 years ago
When submitting a new release, on error, ship it returns on the fennec tab
Categories
(Release Engineering :: Release Automation, defect)
Release Engineering
Release Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: massimo, Assigned: massimo)
References
Details
(Whiteboard: [shipit])
Attachments
(1 file, 3 obsolete files)
|
3.76 KB,
patch
|
bhearsum
:
review+
massimo
:
checked-in+
|
Details | Diff | Splinter Review |
When submitting a release that does not validate, ship it shows always the fennec tab (first tab) instead of the one that caused the validation error.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mgervasini
Updated•13 years ago
|
Priority: P3 → --
| Assignee | ||
Comment 1•13 years ago
|
||
This patch forces the selection of the 'product' tab passed in the errors list.
other changes:
* removed javascript used for radio buttons
* updated error css
Attachment #728198 -
Flags: review?(bhearsum)
Comment 2•13 years ago
|
||
Comment on attachment 728198 [details] [diff] [review]
on error, the right tab is selected
Review of attachment 728198 [details] [diff] [review]:
-----------------------------------------------------------------
I like the look of this, just one small thing to fix.
::: kickoff/views/submit.py
@@ +46,4 @@
> for error in form.errors.values():
> errors.extend(error)
> if errors:
> + errors.append(product)
This is pretty hacky....how about supporting a selectedProduct or similar in the template, and defaulting it to Fennec or Firefox?
Attachment #728198 -
Flags: review?(bhearsum) → review-
| Assignee | ||
Comment 3•13 years ago
|
||
Yes, totally hacky!
Now passing selectedProduct=product to the template.
There is no need for a default value; if product does not exist or is not set to firefox/thunderbird, the first tab is selected automatically.
Attachment #728198 -
Attachment is obsolete: true
Attachment #728258 -
Flags: review?(bhearsum)
| Assignee | ||
Comment 4•13 years ago
|
||
sorry, Ben. Last patch file was totally wrong
Attachment #728258 -
Attachment is obsolete: true
Attachment #728258 -
Flags: review?(bhearsum)
Attachment #728269 -
Flags: review?(bhearsum)
| Assignee | ||
Comment 5•13 years ago
|
||
I've spotted another issue: when editing a release, there is red bar at the top of the page (empty errors list).
This new patch solves this problem too.
Attachment #728269 -
Attachment is obsolete: true
Attachment #728269 -
Flags: review?(bhearsum)
Attachment #728290 -
Flags: review?(bhearsum)
Updated•13 years ago
|
Attachment #728290 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Updated•13 years ago
|
Attachment #728290 -
Flags: checked-in+
Comment 6•13 years ago
|
||
This is in production.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•