Closed
Bug 578513
Opened 14 years ago
Closed 14 years ago
cc_accessible and reporter_accessible should be is_cc_accessible and is_reporter_accessible in the WebServices
Categories
(Bugzilla :: WebService, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file, 1 obsolete file)
1.43 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
For compatibility with Gerv's BzAPI, and just for consistency across all our booleans, every boolean that the WebServices API accepts or returns should start with "is_" unless it would be totally nonsensical for it to do so.
Flags: blocking4.0+
Assignee | ||
Comment 1•14 years ago
|
||
This should make all the relevant functions and documentation consistent.
Comment 2•14 years ago
|
||
Comment on attachment 480379 [details] [diff] [review] v1 >=== modified file 'Bugzilla/WebService/Bug.pm' >-=item C<reporter_accessible> >+=item C<is_creator_accessible> IMO, this change is pretty weird. We never talk about bug *creator* anywhere in Bugzilla. We clearly use the "reporter" label everywhere else. This is non-sense to me.
Attachment #480379 -
Flags: review-
Comment 3•14 years ago
|
||
Also, a bug creator can be seen as the one who breaks the code. The bug reporter is the one who finds the bug and report it to Bugzilla.
Comment 4•14 years ago
|
||
Comment on attachment 480379 [details] [diff] [review] v1 Hum, I see that you use 'creator' in Bug.get() to get the reporter, so I will remove my r-. But this is IMO a bad choice.
Attachment #480379 -
Flags: review-
Assignee | ||
Comment 5•14 years ago
|
||
LpSolit: See bug 574995 for the reasoning on "creator".
Assignee | ||
Updated•14 years ago
|
Attachment #480379 -
Flags: review?(timello)
Comment 6•14 years ago
|
||
Comment on attachment 480379 [details] [diff] [review] v1 I'd go with the consistency here. If we are currently using 'creator', then 'creator' should be the choice.
Attachment #480379 -
Flags: review?(timello) → review+
Assignee | ||
Updated•14 years ago
|
Flags: approval4.0+
Flags: approval+
Assignee | ||
Updated•14 years ago
|
Attachment #480379 -
Flags: review?(dkl)
Assignee | ||
Comment 7•14 years ago
|
||
There was minor bitrot on checkin, this is what got checked in.
Attachment #480379 -
Attachment is obsolete: true
Attachment #485435 -
Flags: review+
Assignee | ||
Comment 8•14 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Bug.pm modified Bugzilla/WebService/Bug.pm Committed revision 7562. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/4.0/ modified Bugzilla/Bug.pm modified Bugzilla/WebService/Bug.pm Committed revision 7451.
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
•