<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Hi Ruslan,</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">I just updated the database as you mentioned. I am not getting any checkboxes/radio buttons on the forms</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">It just displaying 0 inplace of checkboxes/radio buttons </SPAN></div>
<div><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Is there any other steps I need to do after the database changes?</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">With Regards</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Vinod.R</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"><VAR id=yui-ie-cursor></VAR></SPAN> </div>
<div style="RIGHT: auto"><BR></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Ruslan Zakirov <ruz@bestpractical.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> rt-users@lists.bestpractical.com<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, July 7, 2011 5:58 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [rt-users] Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 696.<BR></FONT><BR>Hi,<BR><BR>Try the following SQL query that should help. I'm preparing a new<BR>version of the extension to stop people from using it under RT4 and<BR>help them upgrade. We'll try to automate process in
 4.0.2.<BR><BR>    UPDATE CustomFields SET Type = 'Select' AND RenderType = 'List'<BR>    WHERE Type = 'SelectCheckbox';<BR><BR><BR>On Fri, Jul 8, 2011 at 12:38 AM, Kevin Falcone<BR><<A href="mailto:falcone@bestpractical.com" ymailto="mailto:falcone@bestpractical.com">falcone@bestpractical.com</A>> wrote:<BR>> On Thu, Jul 07, 2011 at 01:01:27PM -0700, Direct Insure Online wrote:<BR>>> Hi Kevin,<BR>>><BR>>> I deleted all *_Overlay.pm files when I upgraded and I have the following setting in <A href="http://rt_siteconfig.pm/" target=_blank>RT_SiteConfig.pm</A><BR>>> Set(@Plugins, qw(<BR>>>                  RT::Authen::ExternalAuth<BR>>>                  RT::Extension::CustomField::Checkbox<BR>>>
                 ));<BR>><BR>> Ah, there's the problem.<BR>><BR>> RT-Extension-CustomField-Checkbox has been superseded by RT4 (and in<BR>> fact is really incompatible with RT4).  Unfortunately, there isn't<BR>> currently an upgrade script, although we'll make sure this gets into<BR>> the bug tracker.<BR>><BR>> You *should* be able to do something like this in your development<BR>> environment.<BR>><BR>> Find the entry in your CustomFields table with the Checkbox entry,<BR>> update Type to Select and DisplayType to List.<BR>><BR>> -kevin<BR>><BR>>> If I comment the above one I am getting the following error<BR>>> could not find component for path 'EditCustomFieldSelectCheckbox'<BR>>><BR>>> If I enable the above in RT_SiteConfig.pm I am getting the following error<BR>>> Can't coerce array into hash
 at /opt/rt3/sbin/../lib/RT/CustomField.pm line 696.<BR>>> Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 620.<BR>>><BR>>> With Regards<BR>>> Vinod.R<BR>>><BR>>><BR>>> From: Kevin Falcone <<A href="mailto:falcone@bestpractical.com" ymailto="mailto:falcone@bestpractical.com">falcone@bestpractical.com</A>><BR>>> To: <A href="mailto:rt-users@lists.bestpractical.com" ymailto="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</A><BR>>> Sent: Thursday, July 7, 2011 12:46 PM<BR>>> Subject: Re: [rt-users] Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 696.<BR>>><BR>>> On Thu, Jul 07, 2011 at 08:42:27AM -0700, Direct Insure Online wrote:<BR>>> >    We just upgraded our RT from 3.8.4 to 4.0.1<BR>>> >    We upgraded the database also.<BR>>> ><BR>>>
 >    When we want to create a new custom field we are getting the following errors<BR>>> ><BR>>> >    Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 696.<BR>>> >    Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 620.<BR>>> ><BR>>> >    What could be the problem.<BR>>><BR>>> The most common failure for something like this is that you have a<BR>>> <A href="http://customfield_overlay.pm/" target=_blank>CustomField_Overlay.pm</A> left over from 3.8 and didn't follow the<BR>>> directions.  Alternately, you might have a local customization or<BR>>> extension that affects Custom Fields.<BR>><BR>><BR>> --------<BR>> 2011 Training: http://bestpractical.com/services/training.html<BR>><BR><BR><BR><BR>-- <BR>Best regards, Ruslan.<BR><BR>--------<BR>2011 Training: <A
 href="http://bestpractical.com/services/training.html" target=_blank>http://bestpractical.com/services/training.html</A><BR><BR></DIV></DIV></div></body></html>