From: Malte S. <mal...@co...> - 2011-06-21 09:35:58
|
Hi Frank, I stumpled upon an interesting behavior of im_biz_object__set_status_id. My assumption is that it will set the status_id of the biz object correctly. But it fails with Tickets which are subtypes of Projects due to this line: : -- Check if the object has a supertype and update table and id_column if necessary : WHILE 'acs_object' != v_supertype AND 'im_biz_object' != v_supertype LOOP : select ot.supertype, ot.table_name, ot.id_column : into v_supertype, v_table, v_id_column : from acs_object_types ot : where ot.object_type = v_supertype; : END LOOP; So, instead of using the status_type_table of the object_type you actually try to set it for the supertype. This does not make any sense to me. Could you clarify why you did this? Is this a bug or a feature? Best wishes Malte -- Malte Sussdorff cognovís GmbH Schrödersweg 27 D-22453 Hamburg Mobil: +49 (0)151 / 230 33 826 Fon: +49 (0)40 / 386 60 521 Fax: +49 (0)40 / 386 60 523 www.cognovis.de HRB Hamburg 28909 Geschäftsführer: Malte Sussdorff Diese Nachricht ist streng vertraulich und enthält rechtlich geschützte Informationen. Sie ist nur für die Adressaten bestimmt. Falls Sie diese Mail fälschlicherweise erhalten haben, bitten wir Sie freundlicherweise uns umgehend telefonisch oder per E-Mail zu informieren und den Inhalt dieser Nachricht in Ihrem System zu löschen. Diese Nachricht ist anfällig für Datenkorruption, Abfangen von Daten, nicht autorisierte Änderungen, Verfälschung und Viren. Wir senden und empfangen E-Mails nur auf der Grundlage, dass wir nicht für solche Datenkorruption, Abfangen von Daten, nicht autorisierte Änderungen, Verfälschung und Viren und deren Konsequenzen haften. This e-mail is confidential and may contain legally privileged information. It is intended only for the addressees. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message from your system. E-Mail is susceptible to data corruption, interception, unauthorised amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, unauthorised amendment, tampering and viruses or any consequences thereof. |