#1022 Do cascade the resolution of an incident to its child requests + rework of the lifecycle/actions to ease the extensibility (New handlers: Rest, Copy, SetCurrentDate, SetCurrentUser, SetElapsedTime)

SVN:trunk[3423]
This commit is contained in:
Romain Quetiez
2014-11-19 09:44:52 +00:00
parent ca90f9b32a
commit f4b10d3e81
13 changed files with 802 additions and 104 deletions

View File

@@ -213,7 +213,7 @@
}
]]></code>
</method>
</methods>
</methods>
<presentation>
<details>
<items>
@@ -772,6 +772,40 @@
</argument>
</arguments>
</method>
<method id="SetCurrentUser">
<arguments>
<argument>
<label>Field Code</label>
<type>attcode</type>
<mandatory>true</mandatory>
<description>The field, in the current object, to set to
the current logged in user</description>
</argument>
</arguments>
</method>
<method id="SetElapsedTime">
<arguments>
<argument>
<label>Field Code</label>
<type>attcode</type>
<mandatory>true</mandatory>
<description>The field, in the current object, to set to
the time elapsed since the date given by the reference field</description>
</argument>
<argument>
<label>Reference Field Code</label>
<type>attcode</type>
<mandatory>true</mandatory>
<description>The reference date or date/time</description>
</argument>
<argument>
<label>Working hours</label>
<type>attcode</type>
<mandatory>false</mandatory>
<description>Leave empty to rely on the standard working hours scheme, or set to "DefaultWorkingTimeComputer" to force a 24x7 scheme</description>
</argument>
</arguments>
</method>
<method id="Reset">
<arguments>
<argument>

View File

@@ -1,5 +1,5 @@
<?php
// Copyright (C) 2010-2012 Combodo SARL
// Copyright (C) 2010-2014 Combodo SARL
//
// This file is part of iTop.
//
@@ -179,13 +179,5 @@ Dict::Add('EN US', 'English', 'English', array(
'Ticket:SLA' => 'SLA report',
'WorkOrder:Details' => 'Details',
'WorkOrder:Moreinfo' => 'More information',
'Tickets:ResolvedFrom' => 'Automatically resolved from %1$s'
));
?>

View File

@@ -164,6 +164,5 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Ticket:SLA' => 'Rapport SLA',
'WorkOrder:Details' => 'Détails',
'WorkOrder:Moreinfo' => 'Informations complémentaires',
'Tickets:ResolvedFrom' => 'Résolu via %1$s'
));
?>