130<2 = true, and internal errors in logs

wanqwer

Client
Регистрация
06.09.2012
Сообщения
18
Благодарностей
0
Баллы
1
Hello,
i got some strange situation here that i will try to describe:

I use this Logical if statement:
'{-Variable.tags_count-}'<'2'
my variable tags_count is equal to 130, and statement still results in 'true', see screenshot attached:
http://zennolab.com/discussion/attachments/130-png.5396/?temp_hash=e8bc9c2740c4c9c8526d16cd9a511d2a

I also tried single-double, double-single, double-double quotes,
tried increasing tags_count by 1 then decrease by 1 to make sure it stores variable as a number, but still results in 'true'

Note#1: changing my statement to '130'<'2' results in 'false' so my zenno is not buggy i guess.
Note#2: my execution log throws errors like this, after every execution of this Logical if action:
Код:
2014-04-23 15:39:00.2333|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Run logic IF-statment action id: b88b3afb-0822-46e5-96c7-be1d65060bd8 action group id: 14151a90-dbb5-4380-a1cc-898851883af5"
Message: "Result: true"
2014-04-23 15:39:59.8518|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Run logic IF-statment action id: b88b3afb-0822-46e5-96c7-be1d65060bd8 action group id: 14151a90-dbb5-4380-a1cc-898851883af5"
Message: "Result: true"
2014-04-23 15:51:48.1013|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Run logic IF-statment action id: b88b3afb-0822-46e5-96c7-be1d65060bd8 action group id: 14151a90-dbb5-4380-a1cc-898851883af5"
Message: "Result: true"
2014-04-23 15:52:56.9292|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Run logic IF-statment action id: b88b3afb-0822-46e5-96c7-be1d65060bd8 action group id: 14151a90-dbb5-4380-a1cc-898851883af5"
Message: "Result: true"
2014-04-23 15:53:08.0378|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Run logic IF-statment action id: b88b3afb-0822-46e5-96c7-be1d65060bd8 action group id: 14151a90-dbb5-4380-a1cc-898851883af5"
Message: "Result: true"
2014-04-23 15:55:22.8625|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Increase count {-Variable.tags_count-} on 1 action id: e4f73e9c-ffb5-46fd-934a-6f2404b2288d action group id: a457ede7-00d3-4693-af0f-e6de82b25fd7"
Message: "Result:131"
2014-04-23 15:55:24.7727|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Lower count {-Variable.tags_count-} on 1 action id: 21f33cdd-6a8f-4a53-a165-dd3f3aee0dea action group id: a457ede7-00d3-4693-af0f-e6de82b25fd7"
Message: "Result:130"
2014-04-23 15:55:30.5600|INFO|ZennoLab.LogLibrary.InternalError|Event in module "Run logic IF-statment action id: b88b3afb-0822-46e5-96c7-be1d65060bd8 action group id: 14151a90-dbb5-4380-a1cc-898851883af5"
Message: "Result: true"
Note#3: i use zenno 5.0.7.0 (worked perfectly before)
 

Вложения

  • 55,2 КБ Просмотры: 779

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Logic for numbers should be without quotes:

{-Variable.tags_count-}<2
 
  • Спасибо
Реакции: wanqwer

wanqwer

Client
Регистрация
06.09.2012
Сообщения
18
Благодарностей
0
Баллы
1
You're my hero!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
:az:
 
  • Спасибо
Реакции: wanqwer

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)