Cannot create a new list

Bug #305349 reported by Jennifer Redman
2
Affects Status Importance Assigned to Milestone
Systers-mailman
Fix Released
Undecided
Unassigned
Development
Fix Released
Critical
Andy Grover

Bug Description

Loading list jen-test (unlocked)
The variable `m' is the jen-test MailList instance
>>> from Mailman import DlistUtils
>>> DlistUtils.create_dlist(m)
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/local/mailman10dev/Mailman/DlistUtils.py", line 95, in create_dlist
    executeSQL(None, "create database %s" % mlist.internal_name())
  File "/usr/local/mailman10dev/Mailman/DlistUtils.py", line 51, in executeSQL
    cursor.execute(command)
ProgrammingError: syntax error at or near "-"
LINE 1: create database jen-test

Revision history for this message
Andy Grover (andy-groveronline) wrote :

I've fixed the backend so calling DlistUtils.create_dlist() does what's needed. I've also added a dlist yes/no option to the web interface list creation page. please test.

Changed in systers:
status: New → Fix Committed
Revision history for this message
Andy Grover (andy-groveronline) wrote :

just to be clear, "withlist" procedure is no longer needed, creating a list through the web ui should do everything needed.

Revision history for this message
Kathy Gee (kathyg) wrote :

I have tested the UI for creating a new list (with the dlist option set to yes) and it works beautifully. So, I believe we are good here.

Jennifer Redman (jenred)
Changed in systers:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.