Bug 616918

Summary: RFE: Pre-select Yes for "Manual Autodiscovery" operation
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: UsabilityAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 1.3.1CC: skondkar
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: 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: 585306    

Description Ondřej Žižka 2010-07-21 18:08:19 UTC
The Manual Autodiscovery op need me to click on Yes or No for the "Detailed discovery" option. This is quite annoying... could it be pre-selected to whatever choice makes more sense for typical user's scenario?  (I personally always choose Yes).

Thx

Comment 1 Corey Welton 2010-09-28 12:26:22 UTC
mazz: this should take 5 minutes to fix, no?

Comment 2 John Mazzitelli 2010-09-28 12:36:59 UTC
added a default value of "true" to the plugin descriptor (default="true" required="true")

git commit: 64abb7e08a090c0c44bdc64b31bb56adfdeb2805

diff --git a/modules/plugins/platform/src/main/resources/META-INF/rhq-plugin.xml b/modules/plugins/platform/src/main/resources/META-INF/rhq-plugin.xml
index 22f4cb1..5a4a8a7 100644
--- a/modules/plugins/platform/src/main/resources/META-INF/rhq-plugin.xml
+++ b/modules/plugins/platform/src/main/resources/META-INF/rhq-plugin.xml
@@ -11,7 +11,7 @@
  <!ENTITY platformOperations '
       <operation name="discovery" displayName="Manual Autodiscovery" description="Run an immediate discovery to search for resources">
          <parameters>
-            <c:simple-property name="detailedDiscovery" description="If true, search for detailed child resources in addition to parent servers." type="boolean"/>
+            <c:simple-property name="detailedDiscovery" description="If true, search for detailed child resources in addition to parent servers." type="boolean" default="true" required="true"/>
          </parameters>

Comment 3 Sunil Kondkar 2010-10-20 11:54:14 UTC
Verified on RHQ build#423

Navigated to Operations tab of the platform, selected 'Manual Autodiscovery' from the drop down 'Run Operation'.
The 'Detailed Discovery' option displays the 'Yes' option selected by default.

Comment 4 Corey Welton 2011-05-24 01:16:31 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 5 Corey Welton 2011-05-24 01:16:39 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 6 Corey Welton 2011-05-24 01:16:39 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 7 Corey Welton 2011-05-24 01:16:44 UTC
Bookkeeping - closing bug - fixed in recent release.