Closed
Bug 785729
Opened 14 years ago
Closed 14 years ago
Webservice Bug.fields (_legal_field_values) should return isactive for versions, components and milestones
Categories
(Bugzilla :: WebService, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: Frank, Assigned: Frank)
Details
Attachments
(1 file, 1 obsolete file)
|
950 bytes,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
There is no way for clients like Mylyn to get the information if a version, components or milestones is retired(bug#77193).
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #655437 -
Flags: review?(LpSolit)
| Assignee | ||
Updated•14 years ago
|
Attachment #655437 -
Flags: review?(LpSolit) → review?(dkl)
Comment 2•14 years ago
|
||
Comment on attachment 655437 [details] [diff] [review]
patch V1
You must document 'isactive'. Also, use is_active instead, for consistency with other fields.
Attachment #655437 -
Flags: review?(dkl) → review-
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #655437 -
Attachment is obsolete: true
Attachment #655447 -
Flags: review?(LpSolit)
Updated•14 years ago
|
Attachment #655447 -
Attachment is patch: true
Comment 4•14 years ago
|
||
Comment on attachment 655447 [details] [diff] [review]
patch V2
Review of attachment 655447 [details] [diff] [review]:
-----------------------------------------------------------------
Minor changes that can be made on checkin. Otherwise looks fine and works as expected. r=dkl
::: Bugzilla/WebService/Bug.pm
@@ +167,4 @@
> sort_key => $self->type('int', $sortkey),
> sortkey => $self->type('int', $sortkey), # deprecated
> visibility_values => [$self->type('string', $product_name)],
> + is_active => $self->type('boolean', $value->is_active()),
nit: $value->is_active (no parens)
@@ +1193,5 @@
>
> +=item C<is_active>
> +
> +C<boolean> True when the version, target_milestone or component is active,
> +false when the element is retired.
C<boolean> True when the value for version, target_milestone, or component is active, false when the value is not active.
Attachment #655447 -
Flags: review+
Updated•14 years ago
|
Flags: approval?
Comment 5•14 years ago
|
||
Comment on attachment 655447 [details] [diff] [review]
patch V2
>+=item C<is_active>
>+
>+C<boolean> True when the version, target_milestone or component is active,
>+false when the element is retired.
It should be made clearer that is_active is defined for product-specific fields only. dkl, please reword this on checkin.
Attachment #655447 -
Flags: review?(LpSolit)
Comment 6•14 years ago
|
||
dkl: also add to the History section that is_active exists only since 4.4.
Assignee: webservice → Frank
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: approval?
Flags: approval4.4+
Flags: approval+
Keywords: relnote
Target Milestone: --- → Bugzilla 4.4
Comment 7•14 years ago
|
||
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/4.4
modified Bugzilla/WebService/Bug.pm
Committed revision 8375.
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/WebService/Bug.pm
Committed revision 8377.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•