Bug 749708

Summary: Non-EAP values do not persist in text fields
Product: [Community] PressGang CCMS Reporter: Misha H. Ali <mhusnain>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 1.xCC: cbredesen, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 01:46:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Misha H. Ali 2011-10-28 01:40:54 UTC
Description of problem:

When using the text fields provided to alter the contents of the Makefile and publican.cfg files for non-EAP products, I noticed that when reloaded, the text boxes contain the default EAP values.

IMO, if I have to change the values every single time, it makes little sense to use this feature instead of what I do now, i.e. copy and paste the publican.cfg and Makefile files from my previous brew to the new XML to be brewed, with slight changes to the version number.

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


How reproducible:


Steps to Reproduce:
1. Navigate to the Skynet GUI interface.
2. Click "Build Docbook"
3. Change the values in the 7 text boxes to desired publican.cfg and Makefile values.
4. (Optional) Click "Docbook" to get generated XML.
5. Navigate away from this page and follow steps 1 through 3 to return to the page and tab.
6. Observe the EAP defaults have returned to the text boxes.
  
Actual results:

Text fields should retain customized information. 

Expected results:

Text fields revert to default EAP values when page and tab is refreshed or returned to.

Comment 1 Misha H. Ali 2011-10-28 01:41:30 UTC
Set priority to high IF skynet is to be used for other products soon. If this is not so, please deprioritize, Matt.

Comment 2 Matthew Casperson 2011-11-03 01:46:39 UTC
Docbook building options are saved as part of a filter. Unless you save the custom values in a filter, the default EAP6 values will be used.

1. Navigate to the Skynet GUI interface.
2. Click "Build Docbook"
3. Change the values in the 7 text boxes to desired publican.cfg and Makefile
values.
4. Click "Filters"
5. Type in a name for the filter in "Filter Name:" and click "Save"

Once a filter is saved you can then load it, which will also load your custom docbook building options. The "Load And Docbook" button in the "Filters" tab provides a convenient way to load a filter and build the docbook zip file with one click.

You can change the values saved by the filter. Once a filter is loaded the "Save" button becomes an "Update" button, which will save any new values you have entered into the existing filter.