##// END OF EJS Templates
Fixed: issue attachments are saved even if the issue has been updated by another user (#3846)....
Jean-Philippe Lang -
r2761:aca6ed13fc25
parent child
Show More
@@ -211,6 +211,8 class IssuesController < ApplicationController
211 211 rescue ActiveRecord::StaleObjectError
212 212 # Optimistic locking exception
213 213 flash.now[:error] = l(:notice_locking_conflict)
214 # Remove the previously added attachments if issue was not updated
215 attachments.each(&:destroy)
214 216 end
215 217
216 218 def reply
General Comments 0
You need to be logged in to leave comments. Login now