Changes between Version 6 and Version 7 of TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator
- Timestamp:
- Mar 29, 2017, 12:48:38 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator
v6 v7 21 21 Note that the `validate_ticket` method is also called during preview. Check if `'submit' in req.args` or `'preview' in req.args` to determine if the validated ticket is getting saved or just previewed. 22 22 23 Note that the `validate_ticket` method is not called during comment editing.23 Since 1.3.2 `validate_ticket` is called during ticket comment edits. Check if `'edit_comment' in req.args` or `'preview_comment' in req.args` to determine if the ticket comment edit is being submitted or previewed. 24 24 25 25 Note that the previous values of a changed ticket can be accessed in `ticket._old`. (See #10495.)