Open
Bug 432910
Opened 17 years ago
Updated 1 year ago
Mid-Air Collision checking for Bug.update()
Categories
(Bugzilla :: WebService, enhancement)
Tracking
()
NEW
People
(Reporter: mkanat, Unassigned)
References
Details
Attachments
(2 files, 1 obsolete file)
2.95 KB,
patch
|
dkl
:
review-
|
Details | Diff | Splinter Review |
261.64 KB,
image/png
|
Details |
Implement an optional parameter for the Bug.update() WebService call, called check_collision, which takes a date.
If this is specified and there's been a mid-air collision since that time, we will return an item called 'collision' that is a hash representing the changes since that time and who made them.
Reporter | ||
Comment 1•17 years ago
|
||
As I started to implement this, I realized that it was entirely handled by bug 424079--that is, once we have get_activity, we can actually just call it directly from Bug.update() when there's a midair collision. So I attached the code that I had for this to bug 424079 for nelwahar to add in to his code.
Depends on: 424079
![]() |
||
Comment 2•13 years ago
|
||
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved.
I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Target Milestone: Bugzilla 4.4 → ---
![]() |
||
Updated•12 years ago
|
Assignee: mkanat → webservice
Comment 3•11 years ago
|
||
I developed this for the Mylyn Bugzilla REST API connector.
Attachment #816342 -
Flags: review?(dkl)
Comment 4•11 years ago
|
||
Comment on attachment 816342 [details] [diff] [review]
432910_V1.patch
Review of attachment 816342 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry for taking so long to get to this :( Unfortunately there is some bit rot and needs to be updated. Let me know if you no longer want to work on this as well and I can take it over.
dkl
::: Bugzilla/WebService/Bug.pm
@@ +3868,4 @@
>
> =item REST API call added Bugzilla B<5.0>.
>
> +=item Add Returnfield "collision" in Bugzilla B<5.0>.
s/collision/collisions/
Attachment #816342 -
Flags: review?(dkl) → review-
Comment 5•11 years ago
|
||
(In reply to David Lawrence [:dkl] from comment #4)
> Comment on attachment 816342 [details] [diff] [review]
> 432910_V1.patch
>
> Review of attachment 816342 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Sorry for taking so long to get to this :( Unfortunately there is some bit
> rot and needs to be updated. Let me know if you no longer want to work on
> this as well and I can take it over.
>
> dkl
It would be great if you continue with this.
Frank
Comment 6•2 years ago
|
||
Please, is this still an issue?
For what it's worth: I do often encounter reported mid-air collisions (with Bugzilla for FreeBSD) however to the best of my recollection, there has never been a meaningful report.
In the attached example, 'Submit my changes anyway' caused nothing to be overwritten (neither of the cc recipients were removed). If there's nothing to be overwritten, why the report?
Updated•2 years ago
|
Attachment #9291996 -
Attachment description: Screenshot: a reported collisionca → Screenshot: a reported collision
Comment 7•2 years ago
|
||
(In reply to Graham Perrin from comment #6)
In the attached example, 'Submit my changes anyway' caused nothing to be overwritten (neither of the cc recipients were removed). If there's nothing to be overwritten, why the report?
Because the changes made may influence your changes as well so you are given a chance to change yours.
Updated•1 year ago
|
Attachment #9383074 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•