[Rt-commit] r19836 - rtir/2.5/trunk
ruz at bestpractical.com
ruz at bestpractical.com
Mon Jun 1 19:21:22 EDT 2009
Author: ruz
Date: Mon Jun 1 19:21:22 2009
New Revision: 19836
Modified:
rtir/2.5/trunk/TODO.switch_custom_fields_to_generic_RT_methods
Log:
* update TODO
Modified: rtir/2.5/trunk/TODO.switch_custom_fields_to_generic_RT_methods
==============================================================================
--- rtir/2.5/trunk/TODO.switch_custom_fields_to_generic_RT_methods (original)
+++ rtir/2.5/trunk/TODO.switch_custom_fields_to_generic_RT_methods Mon Jun 1 19:21:22 2009
@@ -13,6 +13,24 @@
* Constituency has special treating on edit depending on constituency propagation mode
** These two custom fields are still massaged via callback and RTIR has special editor
+* Default values:
+** Reports/SLA/OnCreate: RT::IR::DefaultSLA()
+** Reports/How Reported/OnCreate: $ARGS{'HowReported-Value'} || RT->Config->Get('_RTIR_HowReported_default')
+** the same for 'reporter type'
+** Blocks/Port/OnCreate: $ARGS{'Port-Value'} || RT->Config->Get('_RTIR_Port_default')
+** Blocks/Where Blocked/OnCreate: $ARGS{'WhereBlocked-Value'} || RT->Config->Get('_RTIR_WhereBlocked_default')
+** similar applies to 'Net Mask'
+
+** IP default on Create:
+my $ip_default = $ARGS{'IP-Value'};
+if ( !$ip_default && $IncidentObj ) {
+ $ip_default = join "\n", grep $_, map $_->Content,
+ @{ $IncidentObj->CustomFieldValues( 'IP' )->ItemsArrayRef };
+}
+$ip_default ||= RT->Config->Get('_RTIR_IP_default') || '';
+
+
+
Implemented changes:
* RTIR's custom fields are renamed, no more '_RTIR_' prefix. As well some CFs had two
More information about the Rt-commit
mailing list