Modify

Opened 4 months ago

Closed 3 months ago

#11760 closed defect (fixed)

Trailing comma is added when entering in the CC field

Reported by: MartinEden Owned by: rjollos
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 in reply to: ↑ description Changed 4 months ago by rjollos

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?

comment:2 Changed 3 months ago by MartinEden

  • Resolution set to fixed
  • Status changed from new to 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!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.