jbostoen/itop-jb-mail-to-ticket-automation-v2

Investigate: can ticket_id of EmailReplica be null?

Opened this issue · 0 comments

During debugging, I noticed "ticket ID" was 0, where I had expected it would be "null".

It seems "null" is an allowed value - but the default is 0.

		MetaModel::Init_AddAttribute(new AttributeInteger("ticket_id", array("allowed_values" => null, "sql" => "ticket_id", "default_value" => 0, "is_null_allowed" => true, "depends_on" => array())));

Asked for clarification, perhaps this is something historical?
https://sourceforge.net/p/itop/discussion/integrating-itop/thread/fc6af1dcfd/