Changeset 3665

Show
Ignore:
Timestamp:
05/12/08 16:52:12 (5 months ago)
Author:
superafroman
Message:

Updated to re-validate even if status hasn't changed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ticketvalidatorplugin/0.11/src/ticketvalidator/core.py

    r3662 r3665  
    5353        state = self._get_state(req, ticket) 
    5454 
    55         # state not changed, no need to re-check 
    56         if state is None: 
    57             return [] 
    58  
    5955        required_fields = self.config.getlist('ticketvalidator',  
    6056                                              state + '.required') 
     
    7571            action_changes.update(controller.get_ticket_changes(req, ticket, action)) 
    7672         
    77         return 'status' in action_changes and action_changes['status'] or None 
     73        return 'status' in action_changes and action_changes['status'] or ticket['status'] 
    7874         
    7975    def _get_action_controllers(self, req, ticket, action):