[rt-users] Callback Ticket/ShowHistory/SkipTransaction gives'return 1; '

Barry L. Kline blkline at attglobal.net
Thu Oct 12 11:39:19 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen Turner wrote:
>
> Barry,
> 
> Perhaps your mason cache needs to be cleaned out? The only way I can see
> that you would get that result is if the SkipTransaction callback was this:
> 
> return 1;
> <%ARGS>
> $skip => undef
> $Transaction => undef
> </%ARGS>
> 
> Did you have something like that in an earlier iteration? Incidentally, you
> don't need to return a value here, just set $$skip.

Hi Steve.

That's kind of what I gathered.  If I'm getting this right, anything
between <%INIT> and </%INIT> is executed as code.  Anything outside of
these tags is sent to the browser stream.  As a test, I tried putting a
"Hello, World" where you have the "return 1" but did not get it in the
output.  So that leads me to believe that you may be right, it may be a
mason cache thing.

I'll try clearing that and see what happens.  Thanks for the reply!

Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFFLmGnCFu3bIiwtTARApp+AKCez5wwc68h8LjRowNVb7PEXROu7wCgl8al
MDWY9+kU/IMUtH+ZJGrLDdc=
=vDaI
-----END PGP SIGNATURE-----



More information about the rt-users mailing list