[ic] tmpscratch vars not destroyed after page is processed
Brian Kosick
interchange-users@icdevgroup.org
Thu Mar 27 17:04:00 2003
Hi All,
I don't know if anyone else has expierienced this.....
On the saved carts page, it never seemed top work right, you could
delete the cart, it would still show up in the browser, but it would be
removed (correctly) from the DB. leading to some very strange behavior,
and lots of confusion with clients. After some head banging, I finally
figured ou that my TmpScratch vars did not seem to be destroying
themselves after the page was proccessed. As a quick fix, I added
[calc]
$Scratch->{saved_carts_carts} = '';
$Scratch->{saved_carts_recurring} = '';
[/calc]
to the bottom of the saved_carts page, and everything works correctly
now, so no more instances of the browser thinks it's (the
savedcart/recurring order) there when it's not. It is an issue with all
of my IC sites, which are (mostly) based off the Foundation demo. I
haven't modded saved_carts.html up until this point. Could this be a
bug in the demo?
I'm using
IC 4.8.7
RaQXTR
perl 5.6.1