When I rename one object (one instance of a zclass) the object actualy is deleted and then created, which makes the trigger manage_beforeDelete to be called on the delete operation. the problem is I dont want to call manage_beforeDelete when renaming this object. Is there a way to test in manage_beforeDelete (defined in my zclass) If the ZMI operation is a rename or a delete? -- Julio Silva --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.391 / Virus Database: 222 - Release Date: 9/19/2002
=?iso-8859-1?Q?J=FAlio?= Silva writes:
When I rename one object (one instance of a zclass) the object actualy is deleted and then created, which makes the trigger manage_beforeDelete to be called on the delete operation. the problem is I dont want to call manage_beforeDelete when renaming this object. Is there a way to test in manage_beforeDelete (defined in my zclass) If the ZMI operation is a rename or a delete? I do not think though.
Dieter
participants (2)
-
Dieter Maurer -
Júlio Silva