Skip to Content.
Sympa Menu

devel - [sympa-dev] Re: list customization issue (wwsympa)

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Sergiy Zhuk <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: [sympa-dev] Re: list customization issue (wwsympa)
  • Date: Tue, 7 Dec 2004 20:04:13 -0800 (PST)

hi

replying to myself ;)

looks like this bug was introduced somewhere between 4.1 and 4.2b before
switching to tt2 templates.

The fix is simple, just apply the attached patch to wwsympa.fcgi.

thanks


> Date: Mon, 6 Dec 2004 19:52:45 -0800 (PST)
> From: Sergiy Zhuk <address@concealed>
> To: address@concealed
> Cc: address@concealed
> Subject: list customization issue (wwsympa)
>
> hi
>
> I've recently upgraded from sympa 3.3.5 to 4.1.2-stable (2004-06-21)
> and somehow list customization has stopped working after the upgrade.
>
> wwsympa[20172]: [robot foo.com] [client host.foo.com] [user address@concealed]
> [list unix] do_admin
> wwsympa[20172]: [robot foo.com] [client host.foo.com] [user address@concealed]
> [list unix] d_access_control
> wwsympa[20172]: [robot foo.com] [client host.foo.com] [user address@concealed]
> [list unix] do_editfile()
> wwsympa[20172]: [robot foo.com] [client host.foo.com] [user address@concealed]
> [list unix] d_access_control
> wwsympa[20172]: [robot foo.com] [client host.foo.com] [user address@concealed]
> [list unix] do_editfile(bye.tpl)
>
> Instead of displaying the editing screen, it goes back to template selection
> menu, but the menu itself is empty.
> If you click on it anyway, it goes back to the same page again, but the menu
> now contains template names and so forth.
>
> Any idea how to fix that ?
>
> thanks
>
> --
> rgds,
> serge
>


--
rgds,
serge--- wwsympa.fcgi.orig Fri Nov 19 16:46:59 2004
+++ wwsympa.fcgi Tue Dec 7 19:52:39 2004
@@ -3817,7 +3842,7 @@
## Add list lang to tpl filename
my $file = $in{'file'};
$file =~ s/\.tpl$/\.$list->{'admin'}{'lang'}\.tpl/;
- my @path = split /\//,$param->{'filepath'};
+ my @path = split /\//,$file;
$param->{'file'} = $path[$#path];

## Look for the template



Archive powered by MHonArc 2.6.19+.

Top of Page