  
        
            
            
                | Key: | 
                
                    QB-2177
                 | 
             
            
                | Type: | 
                
                                                                 
             Bug
                 | 
             
            
                | Status: | 
                
                                                                 
             Closed
                 | 
             
                        
                | Resolution: | 
                
                                             Fixed
                 | 
             
            
                        
                | Priority: | 
                
                                                                 
             Major
                 | 
             
            
                        
                | Assignee: | 
                
                                            Robin Shen
                                     | 
             
            
                        
                | Reporter: | 
                
                                            SH
                                     | 
             
            
                        
                | Votes: | 
                
                                            0
                                                         | 
             
            
                        
                | Watchers: | 
                
                                            0
                    
                                     | 
             
                     
        
        
                
        
         
        
                    | 
                If you were logged in you would be able to see more operations.
             |  
                 
         
             |  
 
         | 
        
            
                
    
    
        
            
                QuickBuild 
            
            
            
                Created: 11/Sep/14 10:34 PM  
                Updated: 12/Sep/14 12:26 AM
                
                    
                
            
         | 
            
                
            
            
          
 |  
    
        
            | Component/s: | 
            
                
                    
    None
                
             | 
         
    
    
        
            | Affects Version/s: | 
            
                
                    
    
        5.1.30
    
                
             | 
         
    
    
        
            | Fix Version/s: | 
            
                
                    
    None
                
             | 
         
    
    
 
 |   
    
        
        
        
        
            
	| 
		Original Estimate:
	 | 
	
		
			Unknown
		
		
	 | 
	
		Remaining Estimate:
	 | 
	
		
			Unknown
		
		
	 | 
	
		Time Spent:
	 | 
	
		
			Unknown
		
		
	 | 
 
        
        
        
            
                | 
                    Environment:
                 | 
                
                                  Linux, 
      
                 | 
             
        
        
        
         
         |   
    
	| 
         
             groovy.lang.MissingMethodException: No signature of method: com.pmease.quickbuild.plugin.basis.ScriptStep.getStepChildNames() is applicable for argument types: () values: []
 
 
Doing something like "system.getConfigurationManager().get('root').getStep('myStep').getStepChildNames()" fails with the above error when looking to see which steps have children.
 
 
If the step has children, it works fine. It should just return 0 children. 
 
 
 
         
     | 
 
 
 
	| 
			 Description 
	 | 
        groovy.lang.MissingMethodException: No signature of method: com.pmease.quickbuild.plugin.basis.ScriptStep.getStepChildNames() is applicable for argument types: () values: []
Doing something like "system.getConfigurationManager().get('root').getStep('myStep').getStepChildNames()" fails with the above error when looking to see which steps have children.
If the step has children, it works fine. It should just return 0 children. 
  | 
    Show » | 
 
 
 
    
    
        
            
            
 
            
        
    
    
     
             
         | 
groovy:
def mystep = system.configurationManager.get("root").getStep("mystep");
if ((mystep instanceof com.pmease.quickbuild.stepsupport.CompositeStep) && !mystep.childStepNames.isEmpty()) {
// there are child steps
}