Hi Ruslan, I just updated the database as you mentioned. I am not getting any checkboxes/radio buttons on the forms It just displaying 0 inplace of checkboxes/radio buttons Is there any other steps I need to do after the database changes? With Regards Vinod.R
From: Ruslan Zakirov <[email protected]> To: [email protected] Sent: Thursday, July 7, 2011 5:58 PM Subject: Re: [rt-users] Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 696. Hi, Try the following SQL query that should help. I'm preparing a new version of the extension to stop people from using it under RT4 and help them upgrade. We'll try to automate process in 4.0.2. UPDATE CustomFields SET Type = 'Select' AND RenderType = 'List' WHERE Type = 'SelectCheckbox'; On Fri, Jul 8, 2011 at 12:38 AM, Kevin Falcone <[email protected]> wrote: > On Thu, Jul 07, 2011 at 01:01:27PM -0700, Direct Insure Online wrote: >> Hi Kevin, >> >> I deleted all *_Overlay.pm files when I upgraded and I have the following >> setting in RT_SiteConfig.pm >> Set(@Plugins, qw( >> RT::Authen::ExternalAuth >> RT::Extension::CustomField::Checkbox >> )); > > Ah, there's the problem. > > RT-Extension-CustomField-Checkbox has been superseded by RT4 (and in > fact is really incompatible with RT4). Unfortunately, there isn't > currently an upgrade script, although we'll make sure this gets into > the bug tracker. > > You *should* be able to do something like this in your development > environment. > > Find the entry in your CustomFields table with the Checkbox entry, > update Type to Select and DisplayType to List. > > -kevin > >> If I comment the above one I am getting the following error >> could not find component for path 'EditCustomFieldSelectCheckbox' >> >> If I enable the above in RT_SiteConfig.pm I am getting the following error >> Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line >> 696. >> Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line >> 620. >> >> With Regards >> Vinod.R >> >> >> From: Kevin Falcone <[email protected]> >> To: [email protected] >> Sent: Thursday, July 7, 2011 12:46 PM >> Subject: Re: [rt-users] Can't coerce array into hash at >> /opt/rt3/sbin/../lib/RT/CustomField.pm line 696. >> >> On Thu, Jul 07, 2011 at 08:42:27AM -0700, Direct Insure Online wrote: >> > We just upgraded our RT from 3.8.4 to 4.0.1 >> > We upgraded the database also. >> > >> > When we want to create a new custom field we are getting the following >> >errors >> > >> > Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm >> >line 696. >> > Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm >> >line 620. >> > >> > What could be the problem. >> >> The most common failure for something like this is that you have a >> CustomField_Overlay.pm left over from 3.8 and didn't follow the >> directions. Alternately, you might have a local customization or >> extension that affects Custom Fields. > > > -------- > 2011 Training: http://bestpractical.com/services/training.html > -- Best regards, Ruslan. -------- 2011 Training: http://bestpractical.com/services/training.html
-------- 2011 Training: http://bestpractical.com/services/training.html
