Bug 906155 - Revise Support for the text/plain Format in the Alert API
Summary: Revise Support for the text/plain Format in the Alert API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: REST
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.6
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-31 02:16 UTC by Fernando Ribeiro
Modified: 2013-08-31 10:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-31 10:13:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Fernando Ribeiro 2013-01-31 02:16:02 UTC
Description of problem:

The Alert API currently supports the text/plain format, but except when the return value is of a primitive type, returns the result of the toString() method, which is usually not proper for client consumption.

Since most clients may be interested only in the application/xml and application/json formats, dropping support for the text/plain format should be evaluated against improving it.

Version-Release number of selected component (if applicable):

4.5.1

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Heiko W. Rupp 2013-02-06 16:43:16 UTC
Good find - I think I actually never intended to support text/plain and that this is a typo and meant text/html.

I will look into it.

Comment 2 Heiko W. Rupp 2013-02-07 09:38:05 UTC
master 74e469c5b13cc5

Comment 3 Heiko W. Rupp 2013-08-31 10:13:37 UTC
Bulk close of old bugs in VERIFIED state.


Note You need to log in before you can comment on or make changes to this bug.