Changes between Version 5 and Version 6 of TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator
- Timestamp:
- Jul 3, 2015, 10:12:00 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator
v5 v6 18 18 19 19 Note that the `validate_ticket` method can also be used to ''manipulate'' the ticket's fields before they are saved. 20 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 23 Note that the `validate_ticket` method is not called during comment editing. 20 24 21 25 Note that the previous values of a changed ticket can be accessed in `ticket._old`. (See #10495.)