   componentWillUnmount: () ->
     @context.geordi?.forget ['workflowID']
 
-  componentWillReceiveProps: (nextProps) ->
+  componentWillReceiveProps: (nextProps, nextContext) ->
     if @props.project isnt nextProps.project
       @loadAppropriateClassification(nextProps)
     unless nextProps.loadingSelectedWorkflow

    if nextProps.loadingSelectedWorkflow is false and nextProps.user isnt null
      @shouldWorkflowAssignmentPrompt(nextProps)

    if nextProps.location.query?.group isnt @props.location.query?.group
      @validateUserGroup(nextProps)

  shouldWorkflowAssignmentPrompt: (nextProps) ->
    # Only for Gravity Spy which is assigning workflows to logged in users



  contextTypes:
    geordi: React.PropTypes.object,
    initialLoadComplete: React.PropTypes.bool,
    router: React.PropTypes.object

  propTypes:
    loadingSelectedWorkflow: React.PropTypes.bool
