comments returned via the REST endpoint shouldn't be wrapped

RESOLVED FIXED in Bugzilla 5.0

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: glob, Assigned: dkl)

Tracking

unspecified
Bugzilla 5.0
Bug Flags:
approval +

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
the txt filter in Bugzilla::Template currently skips wrapping of the comment when the usage_mode is JSON or XMLRPC.  wrapping should probably skipped for REST calls too.
(Assignee)

Comment 1

5 years ago
Created attachment 780011 [details] [diff] [review]
895309_1.patch
Assignee: webservice → dkl
Status: NEW → ASSIGNED
Attachment #780011 - Flags: review?(glob)
(Reporter)

Comment 2

5 years ago
Comment on attachment 780011 [details] [diff] [review]
895309_1.patch

r=glob
Attachment #780011 - Flags: review?(glob) → review+
(Reporter)

Updated

5 years ago
Flags: approval+
Target Milestone: --- → Bugzilla 5.0
(Assignee)

Comment 3

5 years ago
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/Template.pm
Committed revision 8662.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED

Comment 4

5 years ago
dkl: make sure to commit the patch which has been r+'ed, and not include debug code which comes from nowhere! 2nd time in one week only (bug 866927 and now this one). :(

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Template.pm
Committed revision 8668.
You need to log in before you can comment on or make changes to this bug.