On Dec 31 2011, 4:35 pm, Martin Fick <
mf...@codeaurora.org> wrote:
> On Friday, December 30, 2011 03:18:21 am Pravin wrote:
>
> > I have a project for which I have configured all the
> > changes to be cherry-picked
> > whenever a change gets submitted. When such changes are
> > submitted, Gerrit
> > adds a comment saying 'Change has been successfully
> > cherry-picked'. However,
> > the comment-added hook does not get triggered for such
> > automated comments.
>
> > Is this the intended functionality or is it a known bug?
> > I think this is a bug.
>
> This is likely related to an NPE and should get fixed here:
>
>
https://gerrit-review.googlesource.com/#/c/30754/
No I think this has always been the case - we don't send out a comment-
added stream event for the comment added by Gerrit. I double-checked
with 2.2.1 and it also doesn't send out an event for this, before that
NPE was introduced.
Pravin, any particular reason you need the event for this comment? I
assume we don't send the event because nobody's ever had a use-case
for needing it...
Brad