28 Mar
2000
28 Mar
'00
10:36 p.m.
Tres Seaver writes:
Take three. I've solved the problem for all cases by having the ZClass add method redirect to a method that copies the default methods into the new ZClass instance, then redirects back to the management screen.
Might have to write a howto for this one.
I'm glad you found a workaround. Just offhand, did you try to just call that additional method, before redirecting to it? I have seen a couple of cases where I refactored code like that into a new method and then things got simpler.
Tried that - I in-lined it on the list for brevity's sake. The problem is definitely with manage_clone not wanting to be used on a thing inside the transaction that creates that thing. John.