[great-users] Small bug - SetStrValue is not checked...

Aditya Agrawal Aditya at isis.vanderbilt.edu
Tue Apr 6 19:03:29 CDT 2004


 
> > I'm using the officially unreleased version of GReAT. I was not
> careful
> > enough and tried the following thing in an attribute mapping:
> >
> > <something>.SetStrVale("something", 0);
> >
> > Obviously it should be:
> >
> > <something>.SetStrVale("something", "0");
> >
> > No errors are reported during configuration and the execution of
this
> > rule crashes GME.
> 
> [Adi]
> The AttributeMapping and Guard code is compiled into a dll by GRE and
> called at run time. Since the code you wrote is valid C++ code it is
> successfully compiled and linked. In your case it's a semantic error
> that even the C++ compiler cannot catch.

[Adi] 
I am posting this to udm-users as well so that endre knows about this
problem and he can fix it in UDM's implementation of the SetStrValue()
function.

Thanks,
Adi


More information about the great-users mailing list