Bug 553293

Summary: [raw-config] raw only server history page displays "This resource does not expose a configuration."
Product: [Other] RHQ Project Reporter: Preethi Thomas <pthomas>
Component: ConfigurationAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: cwelton, jsanda, whayutin
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-16 13:53:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565635    
Attachments:
Description Flags
history-raw-server none

Description Preethi Thomas 2010-01-07 15:28:11 UTC
Created attachment 382260 [details]
history-raw-server

Description of problem:
When a config revision is selected in the Raw Only Server 's history page "This resource does not expose a configuration" message is displayed.

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


How reproducible:


Steps to Reproduce:
1. Login to RHQ server with an agent running
2. Click on Raw Only server and then on configuration tab
3. Click on Edit files edit and save the file so that there are more than one revision of the file.
4. Now Click on History from the Configuration tab
5. Select any of the revisions in the history
  
Actual results:
Notice that at the bottom of the page
"This resource does not expose a configuration" message is displayed


Expected results:
It should display the selected revision as a text file or something


Additional info:
SS attached

Comment 1 John Sanda 2010-02-11 18:57:06 UTC
history.xhtml was designed only to support structured config as it was implemented before raw config came about. Need to update history.xhtml to handle raw config.

Comment 2 wes hayutin 2010-02-16 16:53:49 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 16:59:01 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 John Sanda 2010-02-25 17:54:24 UTC
Updated history.xhtml so that it now supports raw configuration. Now when viewing a previous revision, you basically get the same UI as you do on view.xhhtml, minus the edit buttons.

Comment 5 Corey Welton 2010-12-16 13:53:06 UTC
closing per triage.