Edgewall Software

Changes between Version 6 and Version 7 of TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator


Ignore:
Timestamp:
Mar 29, 2017, 12:48:38 AM (2 years ago)
Author:
Ryan J Ollos
Comment:

Document #12725.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator

    v6 v7  
    2121Note 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.
    2222
    23 Note that the `validate_ticket` method is not called during comment editing.
     23Since 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.
    2424
    2525Note that the previous values of a changed ticket can be accessed in `ticket._old`. (See #10495.)