Bug 1290436

Summary: Invalid properties PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE appear on system setting page and prevent config from being saved
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: UIAssignee: Josejulio Martínez <jmartine>
Status: CLOSED ERRATA QA Contact: Sunil Kondkar <skondkar>
Severity: high Docs Contact:
Priority: urgent    
Version: JON 3.3.5CC: ajuricic, bkramer, fbrychta, jmartine, loleary, spinder
Target Milestone: DR01Keywords: Regression, Triaged
Target Release: JON 3.3.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 15:32:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot-System Settings Default view with blank required fields
none
Screenshot_Disabled Save button after entering LDAP config values none

Description Sunil Kondkar 2015-12-10 14:07:54 UTC
Created attachment 1104360 [details]
Screenshot-System Settings Default view with blank required fields

Description of problem:

After installing 3.3.0.GA Update 05 DR01 build, navigated to Administration->Configuration->System Settings. By default, the page displays two properties - PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE as mandatory and blank. Entered the values in bothe fields and then tried to enter the ldap values in ldap configuration properties, observed that the 'Save' button is still disabled and I could not save the LDAP config properties.

Please refer the attached screenshots.

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

Browser Versions:
Firefox 38.0.5
IE 9.0.8112.16421

JBoss On version:
Version :3.3.0.GA Update 05
Build Number :bb9d2ba:95ae59f


How reproducible:

Always

Steps to Reproduce:

1)Login to JBoss ON as rhqadmin
2)Navigate to Administration->Configuration->System Settings
3)The system settings page shows below fields as required and does not have any values by default:
PARTITION_EVENT_PURGE
RESOURCE_CONFIG_HISTORY_PURGE
4) Enter some value in above fields (ex: 1 )
5) Enter the LDAP properties like 'Search Base', 'Username', 'Password', 'Search Filter', 'Group Search Filter' and 'LDAP URL'
6) The Save button is not enabled after entering ldap values.

Actual results:

The Save button is not enabled after entering ldap values.

Expected results:

Save button should be enabled and user should be able to save the values.

Additional info:

Workaround: Save button is enabled when user removes a value using backspace or deletes and enters a value in some other mandatory field like 'Agent Max Quiet Time Allowed'.

Comment 1 Sunil Kondkar 2015-12-10 14:09:17 UTC
Created attachment 1104361 [details]
Screenshot_Disabled Save button after entering LDAP config values

Comment 3 Larry O'Leary 2016-02-17 16:42:37 UTC
The issue described in comment 0 is a bit misleading. 

This is not about not being able to save the configuration page due to empty defaults but the fact that PARTITION_EVENT_PURGE_PERIOD and RESOURCE_CONFIG_HISTORY_PURGE_PERIOD appear on this page in the first place. 

This is a regression from 3.3.4 and should have been a blocker for 3.3.5. However, it was not identified as such until after 3.3.5 freeze and release.

The workaround is to set these invalid properties to 0.

Comment 4 Larry O'Leary 2016-02-17 16:44:09 UTC
Actual results:

PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE appear on system settings administration page in JBoss ON UI.

Expected results:

PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE should not appear on the system settings administration page.

Comment 5 bkramer 2016-02-17 16:45:23 UTC
*** Bug 1308960 has been marked as a duplicate of this bug. ***

Comment 8 Mike McCune 2016-03-28 22:47:43 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 11 Simeon Pinder 2016-06-18 01:11:51 UTC
Moving to ON_QA as available to test with JON 3.3.6 DR01 brew build:
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=499890

Comment 12 Sunil Kondkar 2016-06-23 10:04:40 UTC
Verified on version : 3.3.0.GA Update 06 Build Number :	675641d:2fcd5b7

The invalid properties - PARTITION_EVENT_PURGE and RESOURCE_CONFIG_HISTORY_PURGE does not appear on the system settings administration page.

Verified that system settings / ldap settings are saved successfully.

Comment 13 errata-xmlrpc 2016-07-27 15:32:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-1519.html