Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8616 closed enhancement (fixed)

ticket id attribute should be always stored as int

Reported by: Felix Schwarz <felix.schwarz@…> Owned by: Felix Schwarz <felix.schwarz@…>
Priority: lowest Milestone: 0.12
Component: ticket system Version: 0.12dev
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If you instantiate a Ticket using a string parameter, the id attribute will be a string as well. This should be always converted to int for better consistency.

Attachments (1)

8616_ticket_id_as_int (1.2 KB ) - added by Felix Schwarz <felix.schwarz@…> 15 years ago.

Download all attachments as: .zip

Change History (6)

by Felix Schwarz <felix.schwarz@…>, 15 years ago

Attachment: 8616_ticket_id_as_int added

comment:1 by Remy Blank, 15 years ago

Owner: set to Remy Blank

On my todo list.

comment:2 by Remy Blank, 15 years ago

Milestone: 0.12

comment:3 by Remy Blank, 15 years ago

Resolution: fixed
Status: newclosed

Applied in [8539], with a small change that ensures that the ID of the resource is also an int. Thanks!

comment:4 by Remy Blank, 15 years ago

Owner: changed from Remy Blank to Felix Schwarz <felix.schwarz@…>

comment:5 by Remy Blank, 15 years ago

Changed the type check to a comparison with an int in [8543], as the number type is not the same depending on the database backend.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Felix Schwarz <felix.schwarz@…>.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Felix Schwarz <felix.schwarz@…> 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.