<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>When you change the value of a "Select One Value"
Custom Field, you get the messages:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> * CFNAME A changed to
B<BR> * Custom field value A could not be found for custom
field CFNAME </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial><FONT size=2>The second message is odd and misleading. The
CF value is changed anyway. <SPAN class=280453417-08062006>Thanks to Eric
Shultz for this - I just verified it in 3.6rc3 and generated a
patch.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=280453417-08062006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=280453417-08062006>------------------------</SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=280453417-08062006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=280453417-08062006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=280453417-08062006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=280453417-08062006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=280453417-08062006>***
/usr/local/rt/lib/RT/Interface/Web.pm 2006-02-21 13:23:06.000000000
-0800<BR>--- Web_Local.pm 2006-06-08 10:47:39.900398608
-0700<BR>***************<BR>*** 1230,1235 ****<BR>--- 1230,1237
----<BR>
my $cf_values = $Object->CustomFieldValues($cf);<BR>
<BR>
my
%values_hash;<BR>+
my @addcfresults = ();<BR>+
<BR>
foreach my $value (@values)
{<BR>
next unless length($value);<BR> <BR>***************<BR>*** 1242,1260
****<BR>
Value =>
$value<BR>
);<BR>
push ( @results, $msg
);<BR>
}<BR>
<BR>
}<BR>!
while ( my $cf_value = $cf_values->Next )
{<BR>!
unless ( $values_hash{ $cf_value->Content } == 1 )
{<BR>
my ( $val, $msg ) =
$Object->DeleteCustomFieldValue(<BR>
Field =>
$cf,<BR>
Value =>
$cf_value->Content<BR>
);<BR>
push ( @results, $msg);<BR>
<BR>!
}<BR>!
}<BR>
}<BR>
elsif ( $arg =~ /-Values$/ )
{<BR>
my $cf_values = $Object->CustomFieldValues($cf);<BR>--- 1244,1265
----<BR>
Value =>
$value<BR>
);<BR>
push ( @results, $msg
);<BR>+
push( @addcfresults, $msg
);<BR>
}<BR>
<BR>
}<BR>!
if (<A href="mailto:!@addcfresults">!@addcfresults</A> or
!$CustomFieldObj->MaxValues )
{<BR>!
while ( my $cf_value = $cf_values->Next )
{<BR>!
unless ( $values_hash{ $cf_value->Content } == 1 )
{<BR>
my ( $val, $msg ) =
$Object->DeleteCustomFieldValue(<BR>
Field =>
$cf,<BR>
Value =>
$cf_value->Content<BR>
);<BR>
push ( @results, $msg);<BR>
<BR>!
}<BR>!
}<BR>!
}<BR>
}<BR>
elsif ( $arg =~ /-Values$/ )
{<BR>
my $cf_values =
$Object->CustomFieldValues($cf);<BR></SPAN></FONT></FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>--</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Philip Kime</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>NOPS Systems Architect</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>310 401 0407</FONT></DIV>
<DIV> </DIV></BODY></HTML>