Hi, In RT4 it's slightly different. See screenshots.
On Fri, Jul 8, 2011 at 1:25 AM, Direct Insure Online <[email protected]> wrote: > Hi Kevin, > > Updated the database as you suggested. > Now on the form there are no radio button's > > With Regards > Vinod.R > From: Kevin Falcone <[email protected]> > To: Direct Insure Online <[email protected]> > Sent: Thursday, July 7, 2011 4:31 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 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.
<<attachment: Снимок экрана 2011-07-08 в 2.06.41.png>>
<<attachment: Снимок экрана 2011-07-08 в 2.06.58.png>>
-------- 2011 Training: http://bestpractical.com/services/training.html
