Opened 4 years ago

Closed 4 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:


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 in reply to:  description Changed 4 years ago by Ryan J Ollos

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/ It must be a plugin that is raising the error. Which plugins do you have installed? Which version of Trac?

comment:2 Changed 4 years ago by MartinEden

Resolution: fixed
Status: newclosed

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!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.