Display Autochanger Contents
Brought to you by:
tim4dev
Hi,
if I click on "Display Autochanger Contents" in the storage view, the application times out.
That is because the "update slots" command is issued every time this option is chosen.
I have a tape library with 350 Tapes so the update slots command takes forever and is actaully not necessary to just view the contents of the library.
My suggestion is to make the update slots command optional befor issuing the "status slots" command.
Thanks for the great software. I am just getting aquainted with it.
Cheers Jan (jbehrend@mpifr-bonn.mpg.de)
"I have a tape library with 350 Tapes" - cool!
patch
diff --git a/application/controllers/StorageController.php b/application/controllers/StorageController.php
index 86f4589..ca28ecf 100644
--- a/application/controllers/StorageController.php
+++ b/application/controllers/StorageController.php
@@ -202,9 +202,12 @@ EOF");
$this->render();
return;
}
+ /*
+ deleted by fixed ID: 3325149 "Display Autochanger Contents"
+ update slots storage=\"$storage_name\" drive=0
+ wait
+ */
$astatusdir = $director->execDirector(" <<EOF
-update slots storage=\"$storage_name\" drive=0
-wait
status slots storage=\"$storage_name\" drive=0
wait
@quit
commit 3f1372348548364b6632dd224d2a21f86956d6fc