Cannot enable user_mailman_register list permissions if their names have special characters in mailman_manager module
| Project: | User mailman register |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
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!
