[Rt-commit] r8051 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident

ruz at bestpractical.com ruz at bestpractical.com
Tue Jul 3 02:03:33 EDT 2007


Author: ruz
Date: Tue Jul  3 02:03:31 2007
New Revision: 8051

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html

Log:
* the correspondends field is not optional when we launch an investigation
  even if we do this as part of an incident creation process

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html	Tue Jul  3 02:03:31 2007
@@ -233,6 +233,11 @@
         push @results, loc( "Invalid value(s) of the custom fields:" ), @msg;
         $checks_failure = 1;
     }
+
+    if ( $CreateWithInvestigation && !$ARGS{'InvestigationRequestors'} ) {
+        push @results, loc( "You must enter a correspondent for the investigation" );
+        $checks_failure = 1;
+    }
 }
 
 if ( !$checks_failure && $CreateIncident ) {


More information about the Rt-commit mailing list