0015-Fix-detach-attachments-when-a-conflict-occurs-29914-.patch

Marius BALTEANU, 2021-03-30 18:42

Download (896 Bytes)

View differences:

app/controllers/issues_controller.rb
189 189
    begin
190 190
      saved = save_issue_with_child_records
191 191
    rescue ActiveRecord::StaleObjectError
192
      @issue.detach_saved_attachments
192 193
      @conflict = true
193 194
      if params[:last_journal_id]
194 195
        @conflict_journals = @issue.journals_after(params[:last_journal_id]).to_a
195
-