Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

#1344 closed defect (fixed)

Inconsistent treatment of trailing blank in milestone name

Reported by: groups@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.9
Component: ticket system Version: 0.8.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Recipe:

  1. Append a blank character to an milestones' name (I know this is stupid - but has happened)
  2. Create a new ticket with milestone set to the one with the blank appended

Effects:

  • When expanding the tickets "milestone select control" the milestone is listed twice
  • In the roadmap view the newly created ticket is not reported for this milestone but all previous tickets (which have been assigned to the "blankless" milestone) appear

It seems that sometimes trailing whitespace is trimmed when it should be always or never

Attachments (0)

Change History (4)

comment:1 by zak@…, 19 years ago

Thanks for the great software!

Leading whitespace is stripped from milestone names when the milestone is displayed in the context of a select box.

This behaviour allows a milestone like " 25%" to exist in the database, but be rendered as "25%" in the Milestone: select list in the ticket admin interface.

This allows an incorrect milestone to be set for an item.

A single, consistent behaviour would be much appreciated! :)

comment:2 by groups@…, 19 years ago

Milestone: 0.9
Priority: normalhigh

This issue becomes more important as we never can prevent the system being users which do not carefully check the milestone names they've entered.

From the roadmaps' point-of-view these tickets get lost

comment:3 by Christopher Lenz, 18 years ago

Component: generalticket system
Owner: changed from Jonas Borgström to Christopher Lenz
Priority: highnormal
Status: newassigned

The stripping of trailing/leading whitespace is actually an effect of putting the values in the <option></option> elements: the browser will strip the whitespace.

comment:4 by Christopher Lenz, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [2373]. If you already have milestones with names that have leading or trailing whitespace, you'll have to edit and save them.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


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