From 5bea90044386b2d8cf15ec19ca878cb9e10223c7 2008-11-20 11:21:14 From: Liwiusz Ociepa Date: 2008-11-20 11:21:14 Subject: [PATCH] Some debug added. There is a bug - don't know if in Redmine.pm or in Netbeans svn client. In logs: Use of uninitialized value $project_id in concatenation (.) or string at /usr/lib/perl5/Apache/Authn/Redmine.pm line 306, .... git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/swistak@2049 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/extra/svn/Redmine.pm b/extra/svn/Redmine.pm index 468f2c1..de28c71 100644 --- a/extra/svn/Redmine.pm +++ b/extra/svn/Redmine.pm @@ -302,6 +302,9 @@ sub is_member { my $cfg = Apache2::Module::get_config(__PACKAGE__, $r->server, $r->per_dir_config); my $usrprojpass; + unless ($project_id) { + print $r->location."\n"; + } if ($cfg->{RedmineMemcache}) { $usrprojpass = $cfg->{RedmineMemcached}->get($redmine_user.":".$project_id); return 1 if (defined $usrprojpass and ($usrprojpass eq $pass_digest));