View Issue Details

IDProjectCategoryView StatusLast Update
447RackTablesVMs/containerspublic2011-07-01 15:52
Reporteruser221Assigned Toinfrastation  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.5 
Target Version0.19.6Fixed in Version0.19.6 
Summary447: Choose a Container List Fails to Populate
DescriptionThe "Choose a Container" popup fails to populate with the appropriate parent objects.

This is due to the function renderPopupObjectSelector() in popup.php calling findObjectParentCandidates instead of findRackObjectParentCandidates.

Adding 'Rack' resolves the issue.
TagsNo tags attached.

Activities

2011-07-01 06:14

 

popup-renderpopupobjectselector-fix.patch (656 bytes)   
Index: popup.php
===================================================================
--- popup.php	(revision 4633)
+++ popup.php	(working copy)
@@ -205,7 +205,7 @@
 	echo '<div style="background-color: #f0f0f0; border: 1px solid #3c78b5; padding: 10px; height: 100%; text-align: center; margin: 5px;">';
 	echo '<h2>Choose a container:</h2>';
 	echo '<form action="javascript:;">';
-	$parents = findObjectParentCandidates($object_id);
+	$parents = findRackObjectParentCandidates($object_id);
 	printSelect ($parents, array ('name' => 'parents', 'size' => getConfigVar ('MAXSELSIZE')));
 	echo '<br>';
 	echo "<input type=submit value='Proceed' onclick='".
infrastation

infrastation

2011-07-01 15:52

administrator   ~0000352

This fix will be available in 0.19.6 release, thank you!

Issue History

Date Modified Username Field Change
2011-07-01 06:14 user221 New Issue
2011-07-01 06:14 user221 Status new => assigned
2011-07-01 06:14 user221 Assigned To => adoom42
2011-07-01 06:14 user221 File Added: popup-renderpopupobjectselector-fix.patch
2011-07-01 10:28 infrastation Target Version => 0.19.6
2011-07-01 10:29 infrastation Assigned To adoom42 => andriyanov
2011-07-01 15:52 infrastation Note Added: 0000352
2011-07-01 15:52 infrastation Assigned To andriyanov => infrastation
2011-07-01 15:52 infrastation Status assigned => closed
2011-07-01 15:52 infrastation Resolution open => fixed
2011-07-01 15:52 infrastation Fixed in Version => 0.19.6