Skip to content

Investigate: can ticket_id of EmailReplica be null? #38

@jbostoen

Description

@jbostoen

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/

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions