Bug 20948 - не отображает web UI раздела Виртуальные машины если нет ни одной вирт.машины
Summary: не отображает web UI раздела Виртуальные машины если нет ни одной вирт.машины
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator-mkve (show other bugs)
Version: unstable
Hardware: all Linux
: P3 major
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 16:27 MSD by swi
Modified: 2009-08-05 15:22 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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