Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4b25f1e6
Commit
4b25f1e6
authored
Jan 23, 2019
by
Brett Walker
Committed by
Fatih Acet
Jan 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore lock_version for task updates
parent
d9c5668d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
app/services/issues/update_service.rb
app/services/issues/update_service.rb
+5
-0
No files found.
app/services/issues/update_service.rb
View file @
4b25f1e6
...
@@ -141,6 +141,11 @@ module Issues
...
@@ -141,6 +141,11 @@ module Issues
params
[
:description
]
=
updated_content
[
:content
]
params
[
:description
]
=
updated_content
[
:content
]
params
[
:description_html
]
=
updated_content
[
:content_html
]
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
)
update_task
(
issue
)
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment