Bug 567767

Summary: [raw-config] Full screen mode do not reflects the changes made within the normal window
Product: [Other] RHQ Project Reporter: Preethi Thomas <pthomas>
Component: ConfigurationAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: high    
Version: 3.0.0CC: cwelton, jsanda
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-13 20:27:33 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: 565628    

Description Preethi Thomas 2010-02-23 20:58:31 UTC
Description of problem:
If you edit the config and go to full screen mode, the changes you made in normal mode are not reflected and if edit in full screen mode & save. the previous changes you made in normal mode are lost. only the changes you made in full screen is retained.

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


How reproducible:


Steps to Reproduce:
1. Login to RHQ
2. Go to the raw& structured resources
3.Go to the configuration tab
4. Navigate to the advanced mode
5. Click on edit
6. Add/edit the config
7.Do not commit
8. Click on Full screen view
9. Add/Edit config in full screen
10. Click on save
  
Actual results:
In step 8 notice that the changes you made in step 6 are not reflected in full screen mode
After step 10 notice that the changes from step 6 ate completely lost. Only the changes in full screen mode are retained.


Expected results:

Full screen edit should reflect the edit in normal mode

Additional info:

Comment 1 John Sanda 2010-02-24 15:55:14 UTC
The full screen/modal editor should reflect that contents of the currently selected file. More specifically, whatever content is rendered in the text area on edit.xhtml should be rendered in the full screen editor when you click the full screen link. I am investigating this now.

When you click the save button on the full screen editor, by design it overwrites the contents of the text area on edit.xhtml. Were you expecting something different?

Comment 2 John Sanda 2010-02-24 16:07:43 UTC
I have pushed the fix so that the modal/full screen editor is updated so that it displays the contents of the currently selected file.

Comment 3 Corey Welton 2010-09-13 20:27:33 UTC
close wontfix