[Bug 1695610] Re: Test missing in lists_lists leading to wrong listing when using -V option

Laurent Declercq 1695610 at bugs.launchpad.net
Sat Jun 3 08:55:13 EDT 2017


** Also affects: mailman (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: mailman (Debian)
   Importance: Undecided
       Status: New

** Description changed:

  Dear project leader,
  
  When we list the lists for specific virtualhost, a wrong result can be
  printed-out in the following condition:
  
- Let's say we have somme lists hosted on bbox.nuxwin.com domain and other
- lists on the lists.bbox.nuxwin.com virtualhost. Then,  when running
- list_lists as follow:
+ Let's say we have somme lists hosted on bbox.nuxwin.com virtualhost and
+ other lists on the lists.bbox.nuxwin.com virtualhost. Then,  when
+ running list_lists as follow:
  
  list_lists -b -V bbox.nuxwin.com
  
  We get also the lists names from the lists.bbox.nuxwin.com virtualhost
  which is an unexpected behavior.
  
  This is due to the fact that you're using find() only.
  
  Real use case:
  
  # Expected result:
  root at devuan:~# /usr/lib/mailman/bin/list_lists -b -V lists.bbox.nuxwin.com
- foobar
- release
+ foo
+ bar
  
  # Unexpected result:
  root at devuan:~# /usr/lib/mailman/bin/list_lists -b -V bbox.nuxwin.com
- foobar
- mailman
- release
+ foo
+ bar
  
  # Unexpected result:
  root at devuan:~# /usr/lib/mailman/bin/list_lists -b -V nuxwin.com
- foobar
- mailman
- release
+ foo
+ bar
  
  # Unexpected result:
  root at devuan:~# /usr/lib/mailman/bin/list_lists -b -V com
- foobar
- mailman
- release
+ foo
+ bar
  
  # Unexpected result:
  root at devuan:~# /usr/lib/mailman/bin/list_lists -b -V m
- foobar
- mailman
- release
+ foo
+ bar
  
  Thank you.

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1695610

Title:
  Test missing in lists_lists leading to wrong listing when using -V
  option

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1695610/+subscriptions


More information about the Mailman-coders mailing list