[rt-users] Can't coerce array into hash at /opt/rt3/sbin/../lib/RT/CustomField.pm line 696.

Direct Insure Online vinod.rapolu at yahoo.com
Thu Jul 7 17:25:54 EDT 2011


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 <falcone at bestpractical.com>
To: Direct Insure Online <vinod.rapolu at yahoo.com>
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 <falcone at bestpractical.com>
> To: rt-users at lists.bestpractical.com
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110707/1a5ae9c0/attachment.htm>


More information about the rt-users mailing list