Modify ↓
Opened 11 years ago
Closed 10 years ago
#11760 closed defect (fixed)
Trailing comma is added when entering in the CC field
Reported by: | MartinEden | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | AutocompleteUsersPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
When entering users into the CC field a comma is automatically appended. Then, when you save your changes, trac complains that there is no user called "", as it treats the space after the comma as a username.
Attachments (0)
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Yes, I apologise - I have now realised this is due to a custom plugin that a colleague wrote. Thanks for the response - knowing that the problem definitely wasn't one in trac core made it much easier to find the real source of the problem.
Thanks again!
Note: See
TracTickets for help on using
tickets.
The Trac core doesn't care about the trailing comma. The trailing comma is stripped off on save: browser:/tags/trac-1.0.1/trac/ticket/model.py@:40#L38. It must be a plugin that is raising the error. Which plugins do you have installed? Which version of Trac?