1. 16 Sep, 2016 2 commits
    • Stan Hu's avatar
      Merge branch '1021-delete-project-with-remote-mirrors' into 'master' · c9e96ddf
      Stan Hu authored
      Fix projects with remote mirrors asynchronously destruction (using pending_delete)
      
      When we update the flag pending_delete to true and later try to 
      destroy the remote mirror (through association callbacks) the remote mirror try to load the project, but it is out of the default scope so it just return nil.
      
      As we need the project to remove the reference to the remote mirror but we’re going to delete the project and its repository is not needed to touch the repository to just remove that reference, so we just skip that step in that case
      
      Closes #1021
      
      See merge request !737
      c9e96ddf
    • Paco Guzman's avatar
      Fix projects with remote mirrors asynchronously destruction (using pending_delete) · 429ae9ad
      Paco Guzman authored
      When we update the flag pending_delete to true and later try to 
      destroy the remote mirror (through association callbacks) the remote mirror try to load the project, but it is out of the default scope so it just return nil.
      
      As we need the project to remove the reference to the remote mirror but we’re going to delete the project and its repository is not needed to touch the repository to just remove that reference, so we just skip that step in that case
      429ae9ad
  2. 15 Sep, 2016 14 commits
  3. 14 Sep, 2016 24 commits