Opened 20 years ago
Closed 20 years ago
#3029 closed enhancement (fixed)
Port of WorkFlow ITicketManipulator interface to trunk + addition of ITicketChangeListener interface
| Reported by: | Alec Thomas | Owned by: | Christopher Lenz | 
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10 | 
| Component: | ticket system | Version: | devel | 
| Severity: | normal | Keywords: | spam hook | 
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Attachments (3)
Change History (10)
by , 20 years ago
| Attachment: | ticket-change-listener.diff added | 
|---|
comment:1 by , 20 years ago
| Description: | modified (diff) | 
|---|
by , 20 years ago
| Attachment: | ticket-adjunct-listener.diff added | 
|---|
ITicketAdjunctChangeListener interface
comment:2 by , 20 years ago
The ITicketAdjunctChangeListener interface methods are called whenever any of the models adjunct to the Ticket model are created/changed/deleted. It's quite a generic interface, but I figured that would be better than having five different interfaces all doing almost the same thing.
comment:3 by , 20 years ago
| Keywords: | spam hook added | 
|---|---|
| Priority: | low → normal | 
| Severity: | minor → normal | 
Suggested docstring changes for ITicketManipulator.validate_ticket:
"Must return a list of (field, message) tuples, one for each problem detected." 
"field can be None to indicate an overall problem with the ticket. "                            
"Therefore, a return value of [] means everything is OK."
by , 20 years ago
| Attachment: | trunk-ticket-manipulator.diff added | 
|---|
ITicketManipulator interface stub for trunk
comment:7 by , 20 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
Patch applied in [3145], minus the adjunct listener.



  
ITicketChangeListenerinterface for trunk