[rt-users] Re: [PATCH] RT::Attribute::Name workaround patch

Roy El-Hames rfh at pipex.net
Fri Nov 4 13:34:45 EST 2005


I *think* we cracked it, this error only appear with version2  >= 1.32 
of DBix (have not tried 1.35), the offending line is :
$field = $self->_Accessible($field, "column") while 
$self->_Accessible($field, "column");
within sub __Value , comment the line out and everything works ..
Ruslan and Co, are we on the right track or will removing this line 
break other things
Roy
 

Ruslan Zakirov wrote:

>On 11/3/05, Roy El-Hames <rfh at pipex.net> wrote:
>  
>
>>Hi Ruslan;
>>I am afraid the patch does not fix the problem, I applied the patch to
>>lib/RT.pm , cleared cache stoped then started apache , query builder
>>loaded a search , then tried to remove one of the show columns and bang
>>the error stack appeared ...
>>    
>>
>that's bad.
>
>  
>
>>again the system or reference is RT-3.4.4 apache 2, mod_perl 2, dbix
>>1.33 , mysql 4.1.14
>>    
>>
>What version of the perl do you use?
>
>  
>
>>please note that this error *does not show up* with dbix 1.27 , so I'll
>>    
>>
>Too many changes between 1.27 and 1.33[1] to say something useful.
>[1] http://search.cpan.org/diff?from=DBIx-SearchBuilder-1.27&to=DBIx-SearchBuilder-1.33
>
>  
>
>>ask again .. ist a good idea to roll dbix back to 1.27 .. I do not want
>>to fix a problem and create another.
>>    
>>
>Could you try version by version update from 1.27 to 1.33 to
>understand where exactly we have problem?
>
>  
>
>>Roy
>>
>>Ruslan Zakirov wrote:
>>
>>    
>>
>>>Jim, Roy, Joby, Carole and other who have problems with
>>>"RT::Attribute::Name Unimplemented", please, try attached patch, I
>>>think it should help.
>>>
>>>Apply it to *lib/RT.pm* instead of lib/RT.pm.in if you're going to
>>>apply it on installed RT code.
>>>Patch is simple and you can even apply it with patch command.
>>>
>>>Don't forget to stop and start server.
>>>
>>>Please, report back about results.
>>>
>>>--
>>>Best regards, Ruslan.
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>=== lib/RT.pm.in
>>>==================================================================
>>>--- lib/RT.pm.in       (revision 1155)
>>>+++ lib/RT.pm.in       (local)
>>>@@ -312,21 +334,30 @@
>>>=cut
>>>
>>>sub InitClasses {
>>>-    require RT::Tickets;
>>>-    require RT::Transactions;
>>>-    require RT::Users;
>>>+    require RT::ACL;
>>>+    require RT::Attachments;
>>>+    require RT::Attributes;
>>>+    require RT::CachedGroupMembers;
>>>    require RT::CurrentUser;
>>>-    require RT::Templates;
>>>+    require RT::CustomFields;
>>>+    require RT::CustomFieldValues;
>>>+    require RT::Date;
>>>+    require RT::EmailParser;
>>>+    require RT::GroupMembers;
>>>+    require RT::Groups;
>>>+    require RT::Handle;
>>>+    require RT::Links;
>>>+    require RT::ObjectCustomFields;
>>>+    require RT::ObjectCustomFieldValues;
>>>+    require RT::Principals;
>>>    require RT::Queues;
>>>    require RT::ScripActions;
>>>    require RT::ScripConditions;
>>>    require RT::Scrips;
>>>-    require RT::Groups;
>>>-    require RT::GroupMembers;
>>>-    require RT::CustomFields;
>>>-    require RT::CustomFieldValues;
>>>-    require RT::ObjectCustomFields;
>>>-    require RT::ObjectCustomFieldValues;
>>>+    require RT::Templates;
>>>+    require RT::Tickets;
>>>+    require RT::Transactions;
>>>+    require RT::Users;
>>>}
>>>
>>># }}}
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>--
>Best regards, Ruslan.
>
>  
>




More information about the rt-users mailing list