mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 01:28:47 +02:00
#152 Suppress errors reported by the data model consistency check
SVN:trunk[620]
This commit is contained in:
@@ -50,15 +50,7 @@ class UserRequest extends ResponseTicket
|
||||
MetaModel::Init_SetZListItems('standard_search', array('ref', 'title', 'org_id', 'start_date', 'status', 'caller_id', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_problem_id', 'related_change_id', 'close_date', 'last_update', 'assignment_date', 'escalation_deadline', 'closure_deadline', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment'));
|
||||
MetaModel::Init_SetZListItems('list', array('ref', 'title', 'org_id', 'start_date', 'status', 'service_id', 'priority', 'workgroup_id', 'agent_id'));
|
||||
|
||||
MetaModel::Init_DefineState(
|
||||
"frozen",
|
||||
array(
|
||||
"attribute_inherit" => 'assigned',
|
||||
"attribute_list" => array(
|
||||
'freeze_reason' => OPT_ATT_MANDATORY,
|
||||
),
|
||||
)
|
||||
);
|
||||
MetaModel::Init_OverloadStateAttribute('frozen', 'freeze_reason', OPT_ATT_MANDATORY);
|
||||
|
||||
// The freeze reason remains hidden in all other states
|
||||
MetaModel::Init_OverloadStateAttribute('new', 'freeze_reason', OPT_ATT_HIDDEN);
|
||||
|
||||
@@ -282,6 +282,14 @@ abstract class ResponseTicket extends Ticket
|
||||
),
|
||||
)
|
||||
);
|
||||
MetaModel::Init_DefineState(
|
||||
"frozen",
|
||||
array(
|
||||
"attribute_inherit" => 'assigned',
|
||||
"attribute_list" => array(
|
||||
),
|
||||
)
|
||||
);
|
||||
MetaModel::Init_DefineState(
|
||||
"resolved",
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user