[ZPatterns] _v_dm_ KeyError calling get_transaction().abort()
Steve Alexander
[email protected]
Mon, 08 Oct 2001 09:42:11 +0100
Itai Tavor wrote:
>
> So I'm still stuck. I need to roll back the transaction before I render
> the html method (or in this case, PT), because otherwise the method
> shows false attributes...
>
> Any ideas how to get around this?
Ok. I think I understand what you want to do.
To clear the values by aborting the transaction, you'll need to get your
"self" object again from wherever you got it originally. This will
probably mean getting it from its Rack again.
I don't think I'd solve this problem they way you're approaching it.
--
Steve Alexander
Software Engineer
Cat-Box limited