My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2014: Format of comment in comment-added event from stream-events changed in v2.6.1
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by sp3...@gmail.com, Jul 16, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:
v2.6.1

What steps will reproduce the problem?
1. Connect to stream-events via ssh
2. Go to web interface and add a comment "foo 123" on a change
3. Look at generated message on ssh stream

What is the expected output? What do you see instead?
Expected output is:
"comment":"foo 123"

What I get instead is:
"comment":"Patch Set 1:\n\nfoo 123"

Please provide any additional information below.
My comment was exactly "foo 123" .. I did not add any "Patch Set 1:\n\n" prefix. It wasn't in my message - was autogenerated - and should not be reported as my comment in stream-events. This breaks stream-events 'API' that we rely on.
Sign in to add a comment

Powered by Google Project Hosting