Unexpected hints for leave action in RPC ticket.getActions
|Reported by:||olemis||Owned by:||osimons|
|Severity:||minor||Keywords:||ticket workflow actions 1.0.2 1.1.0|
Sometimes tracrpc.tests.ticket:RpcTicketTestCase.test_getActions in Trac>=1.0 fails because «The ticket will remain with no owner.» hint is returned by controller.render_ticket_action_control (controller => ConfigurableTicketWorkflow) for leave action (instead of empty string as expected) .
After reviewing the code of trac.ticket.default_workflow:render_ticket_action_control inconsistencies may be related to the fact that the number of operations for leave action may not be 1 under certain circumstances .
Change History (11)
comment:2 in reply to: ↑ 1 Changed 7 months ago by olemis
- Cc jun66j5 added
- Keywords 1.0.2 1.1.0 added