[Debug] DomotiGa v1.1.178 Error
Posted: Mon Jan 04, 2010 2:54 pm
Hi,
I start testing DomotiGa and found some bug.
Tested version: DomatiGa Standalone v1.1.178
FSettingsAstro.class :
No Restart_Astro() in Main.module.
I can't modify and update Astro.
Main.modile
If you put an icon for ON and not for OFF and your device value is not "ON" or "OPEN" ...
DomotiGa crash because it doesn't found any "officon".
FDeviceEditor.class:
On "Edit Device", if you click on the top of the list of "Device" -> {blank one}
DomotiGa crash : No test is done if the request give or not results.
Hope to be helpfull 
I start testing DomotiGa and found some bug.
Tested version: DomatiGa Standalone v1.1.178
FSettingsAstro.class :
Code: Select all
IF Main.bStandalone THEN
Main.Restart_Astro()
I can't modify and update Astro.
Main.modile
Code: Select all
IF rDevice!onicon OR rDevice!officon THEN
IF UCase$(rDevice!value) = "ON" OR UCase$(rDevice!value) = "OPEN" OR UCase$(rDevice!value) = "MOTION" THEN
.Path = Main.sBaseDir &/ "icons" &/ rDevice!onicon
ELSE
.Path = Main.sBaseDir &/ "icons" &/ rDevice!officon
END IF
END IF
DomotiGa crash because it doesn't found any "officon".
FDeviceEditor.class:
On "Edit Device", if you click on the top of the list of "Device" -> {blank one}
DomotiGa crash : No test is done if the request give or not results.
Code: Select all
PUBLIC SUB RefreshDeviceType()
rResultType = Main.hDB.Exec("SELECT * FROM devicetypes WHERE name = &1", cmbModule.Text)
tbDeviceType.Text = rResultType!type
tbDeviceDescr.Text = rResultType!description
