Edgewall Software
Modify

Opened 5 years ago

Last modified 2 years ago

#13185 new enhancement

Keywords: remove duplicates and fixup separators

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-dev-1.7.x
Component: ticket system Version:
Severity: normal Keywords: keywords
Cc: clemens.mosig@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In comment:16:ticket:13179, the following changes to the keywords field were proposed:

  • Fixup separators. Example: kw1, kw2; kw3 kw4kw1, kw2, kw3, kw4 (or use whitespace rather than comma separators). This would match the behavior for the CC field.
  • Remove duplicates.

Attachments (0)

Change History (6)

comment:1 by Ryan J Ollos, 5 years ago

Milestone: next-major-releasesnext-dev-1.5.x

comment:2 by Ryan J Ollos, 4 years ago

Milestone: next-dev-1.5.xnext-dev-1.7.x

Milestone renamed

comment:3 by Clemens Mosig <clemens.mosig@…>, 2 years ago

Do we want to change this only for new keywords that are entered or do we also need to change the existing database?

comment:4 by Clemens Mosig <clemens.mosig@…>, 2 years ago

Cc: clemens.mosig@… added

comment:5 by anonymous, 2 years ago

From comment:16:ticket:13179:

parse the list field with separators ;,\s on ticket save, store the values in the database as a whitespace-seperated string

I agree with this. Save it whitespace-separated. Allow people to write , and ;, but remove them on store. I don't see a need to change existing database entries proactively except when a user triggers a change to the field.

comment:6 by Jun Omae, 2 years ago

Currently, _fixup_cc_list method fixes up cc field on creating and updating ticket record. At least, it is needed to do the same to keywords field as well.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.