Closed Bug 895309 Opened 11 years ago Closed 11 years ago

comments returned via the REST endpoint shouldn't be wrapped

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: glob, Assigned: dkl)

References

Details

Attachments

(1 file)

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.
Attached patch 895309_1.patchSplinter Review
Assignee: webservice → dkl
Status: NEW → ASSIGNED
Attachment #780011 - Flags: review?(glob)
Comment on attachment 780011 [details] [diff] [review]
895309_1.patch

r=glob
Attachment #780011 - Flags: review?(glob) → review+
Flags: approval+
Target Milestone: --- → Bugzilla 5.0
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/Template.pm
Committed revision 8662.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: