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

Roy El-Hames rfh at pipex.net
Thu Nov 3 09:50:40 EST 2005


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 ...
again the system or reference is RT-3.4.4 apache 2, mod_perl 2, dbix 
1.33 , mysql 4.1.14
please note that this error *does not show up* with dbix 1.27 , so I'll 
ask again .. ist a good idea to roll dbix back to 1.27 .. I do not want 
to fix a problem and create another.

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;
> }
> 
> # }}}
>
>
>
>
>
>  
>




More information about the rt-users mailing list