Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Small bugs in package GT::Base

Quote Reply
Small bugs in package GT::Base
   
Hi,

I have derived a class from Links::HTML::Users but I was not able to use
it Unsure because I was not able to connect to the database. Debugging the code
I have found that the problem is in package 'GT::Base' function '_get_attribs'
where he do not explore the parents.
I changed this line:
Code:
my $fattrib = defined ${"${pkg}::ATTRIBS"} ? ${"${pkg}::ATTRIBS"} : next;


with this line

Code:
my $fattrib = $ATTRIB_CACHE->{$pkg} || _get_attribs($pkg) || next;


And my installation is working fine.

Hope that this will be integrated in the next version of Gossamer Links.

Thanks,

Emanuel Dejanu


FYI: I use ActivePerl v5.10.0 on Windows XP SP3 and Apache 2.2.9

Last edited by:

emanueldejanu: Oct 2, 2008, 7:14 AM
Subject Author Views Date
Post Small bugs in package GT::Base emanueldejanu 1555 Oct 2, 2008, 7:10 AM