Opened 8 years ago
Last modified 4 years ago
#12414 closed enhancement
Improve API for getting comment number — at Initial Version
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
E.g. in ITicketManipulator.validate_ticket
it is surprisingly difficult to get the comment number of the comment to be validated.
ticket.get_comment_number(ticket['changetime'])
often gives the previous comment number, but fails e.g. when the a comment was edited. (th:12714)
Am I missing something or could the API be improved somehow? Thanks.
Note:
See TracTickets
for help on using tickets.