Bug 20948

Summary: не отображает web UI раздела Виртуальные машины если нет ни одной вирт.машины
Product: Sisyphus Reporter: swi <swi>
Component: alterator-mkveAssignee: Alexey Shabalin <shaba>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: admaks, barabashka
Version: unstable   
Hardware: all   
OS: Linux   

Description swi 2009-08-04 16:27:22 MSD
заходим в alterator web UI, жмем "Виртуальные машины"
получаем 
(wrong-type-arg "string=" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "string" #f) (#f))

alterator-mkve-0.18-alt1
Comment 1 barabashka 2009-08-04 20:48:53 MSD
Поправить ajax.scm
(define (init)
  (if  (not (boolean? (form-value "hidden_state")))
  (update-buttons-activity (form-value "hidden_state")))

  ; the following is temporary hack. Must use wf=none otherwise
  ;(if (not (string=? "" (form-value "hidden_hypervisor")))
  (if  (not (boolean? (form-value "hidden_hypervisor")))
  (form-update-value "ip" (list_ip (form-value "hidden_hypervisor"))))
Comment 2 inger@altlinux.org 2009-08-05 11:46:25 MSD
с последним alterator-fbi всё должно исправиться.
Comment 3 aspsk 2009-08-05 15:22:26 MSD
Работает с alterator-fbi-5.17-alt4