Changes between Version 2 and Version 3 of Ticket #12414, comment 11
- Timestamp:
- May 7, 2020, 8:34:30 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12414, comment 11
v2 v3 4 4 You can append to the comment in `ITicketManipulator.validate_ticket`, and update the PR in `ITicketChangeListener.{ticket_created/ticket_changed/ticket_comment_modified}`, or update the PR in `ITicketManipulator.apply_ticket_side_effects` if you need access to the `req` to get the PR id? 5 5 6 Since `ITicketManipulator.apply_ticket_side_effects` doesn't exist yet, if you need access to fields from the `Request` you could add those to the ticket object in `ITicketManipulator.validate_ticket` .6 Since `ITicketManipulator.apply_ticket_side_effects` doesn't exist yet, if you need access to fields from the `Request` you could add those to the ticket object in `ITicketManipulator.validate_ticket` and commit them to the database in `ITicketChangeListener`. 7 7 8 8 `ITicketManipulator.validate_ticket` is primarily document as being for identifying problems and rejecting changes, but it's location in the request processing makes it very useful for modifying the ticket changes.