False alarm. I cleaned out some debug logs and it works the same as 1.3.1.
It's strange though. The debugs were not in the exec or avpops modules.
On Thursday 12 June 2008, Robert Dyck wrote:
With the following in cfg --
exec_avp("uname -s","$avp(s:test)");
xlog("L_NOTICE","test result is <$avp(s:test)>\n");
1.3.1 yields "test result is <linux>"
1.3.2 yields "test result is <>"
I also noticed that 1.3.2 handles an uninitialized $var differently than
1.3.1. with the following in cfg --
if !$var(test) == "foo" {xlog("L_NOTICE", "test not equal to
foo\n");};
1.3.1 yields "test not equal to foo"
1.3.2 yields "CRITICAL:core:comp_scriptvar: cannot get left var value"
"WARNING:core:do_action: error in expression"
Is this behaviour intentional
Thanks RD
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users