Bug 544316 - [raw-config] Raw only server config change history is not being displayed in the UI
Summary: [raw-config] Raw only server config change history is not being displayed in ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Configuration
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: John Sanda
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: RHQ_RawConfig
TreeView+ depends on / blocked
 
Reported: 2009-12-04 15:19 UTC by Preethi Thomas
Modified: 2010-08-12 16:49 UTC (History)
0 users

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:49:05 UTC
Embargoed:


Attachments (Terms of Use)
history-raw-server (180.45 KB, image/png)
2010-01-07 14:27 UTC, Preethi Thomas
no flags Details

Description Preethi Thomas 2009-12-04 15:19:05 UTC
Description of problem:
Raw only server config change history is not being displayed in the UI

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


How reproducible:


Steps to Reproduce:
1.Login to rhq
2.Navigate to the Raw server resource
3.Click on configure and Edit files
4. Edit a file & commit (This step is not necessary to reproduce the bug I think)
5. Now Navigate to History of the raw server(configuration->history


  
Actual results:
None of the versions of the config file are displayed in the Configuration History UI

Expected results:
All the versions of the config should be displayed and should be able to revert to any versions

The page should refresh on navigating away
Additional info:

Comment 1 John Sanda 2009-12-15 03:25:39 UTC
The UI code, ListConfigurationUpdateUIBean, calls 
ConfigurationManagerBean.findResourceConfigurationUpdates(). That method has logic
which checks that the configuration definition actually supports updates. It does this by checking that there exists property definitions. If none exists, the
method returns immediately without even querying for updates. That logic of course applies to structured only configurations. It has been modified for raw.

The commit hash for these changes is,

c73d40ce3406a3cc904fb34429b9248b48f8e531

I have tested this manually and verified that I am now able to see the update history for a resource that supports raw configuration.

Comment 2 Preethi Thomas 2009-12-15 19:25:18 UTC
This fixed in latest raw-config branch.
moving to on_qa to test after merge.

Comment 3 Preethi Thomas 2010-01-07 14:27:42 UTC
Created attachment 382242 [details]
history-raw-server

Comment 4 Preethi Thomas 2010-01-07 14:28:20 UTC
verified. check the above ss 
master build
http://10.16.120.159:7080

Comment 5 Corey Welton 2010-08-12 16:49:05 UTC
Mass-closure of verified bugs against JON.


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