GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Unverified Commit 4b25f1e6 authored by Brett Walker's avatar Brett Walker Committed by Fatih Acet

Ignore lock_version for task updates

parent d9c5668d
......@@ -141,6 +141,11 @@ def task_change_event(issue)
params[:description] = updated_content[:content]
params[:description_html] = updated_content[:content_html]
# since we're updating a very specific line, we don't care whether
# the `lock_version` sent from the FE is the same or not. Just
# make sure the data hasn't changed since we queried it
params[:lock_version] = issue.lock_version
update_task(issue)
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment