Jump to:
| Project: | User mailman register |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
If the list title in Mailman Manager module is "[MyList] - this is my list"; when any user group permissions for User_mailman_register module are being set to allow subscribing to this list, the error message below is returned:
An illegal choice has been detected. Please contact the site administrator.
Looking at watchdog logs gives the hint that the first "[" works ok, but the second "]" truncates the title while setting permissions, returning a "form" error.
Changing title to "MyList - this is my list" in mailman manager module fixes this.
I guess this problem can be submitted to the mailman manager module queue too, but it only causes problems with this module so I feel that the user_mailman_register module should do the necessary cleanup of the title to prevent this issue.
Thanks!
Comments
#1
Fixed in dev.
At the moment old permissions for lists with illegal chars are lost and they needed to manually set again because they are renamed, but i'm going to automate it in upgrade procedure.
#2
Thanks for the fix and the update.
#3
http://drupal.org/cvs?commit=307314 adds the update hook to sanitize old permissions with illegal chars, so old permissions are not lost and correctly imported.
Just a small note:
This patch, differently from the first one of my #1 comment (http://drupal.org/cvs?commit=306506) permits space chars: if you changed permissions from the admin page after applying the first patch (and before the second one) they are lost for UMR list names containing space chars and you need to reset them.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.