Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11962


Ignore:
Timestamp:
Feb 16, 2015, 3:41:12 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11962

    • Property Owner set to Ryan J Ollos
    • Property Status newassigned
  • Ticket #11962 – Description

    initial v1  
    1 The following hint could be omitted if the milestone attribute of the workflow action hasn't been specified:
     1The following hint could be omitted if the milestone doesn't exist:
    22
    33[[Image(MilestoneOperation.png,100%)]]
     4
     5Also, some minor changes would likely make the plugin more robust. If the milestone attribute is omitted while specifying the `set_milestone` operation for the action, a traceback results:
     6{{{
     7File "/home/user/Workspace/t11944/teo-rjollos.git/trac/web/main.py", line 551, in _dispatch_request
     8  dispatcher.dispatch(req)
     9File "/home/user/Workspace/t11944/teo-rjollos.git/trac/web/main.py", line 225, in dispatch
     10  resp = chosen_handler.process_request(req)
     11File "/home/user/Workspace/t11944/teo-rjollos.git/trac/ticket/web_ui.py", line 175, in process_request
     12  return self._process_ticket_request(req)
     13File "/home/user/Workspace/t11944/teo-rjollos.git/trac/ticket/web_ui.py", line 687, in _process_ticket_request
     14  get_reporter_id(req, 'author'), field_changes)
     15File "/home/user/Workspace/t11944/teo-rjollos.git/trac/ticket/web_ui.py", line 1722, in _insert_ticket_data
     16  self._get_action_controls(req, ticket)
     17File "/home/user/Workspace/t11944/teo-rjollos.git/trac/ticket/web_ui.py", line 450, in _get_action_controls
     18  req, ticket, action)
     19File "/home/user/Workspace/t11944/tracdev/plugins/MilestoneOperation.py", line 71, in render_ticket_action_control
     20  res_ms = self.__get_resolution_milestone_dict(ticket, action)
     21File "/home/user/Workspace/t11944/tracdev/plugins/MilestoneOperation.py", line 125, in __get_resolution_milestone_dict
     22  res_milestone[res] = transition[1]
     23}}}