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
a3bfa9ee
Commit
a3bfa9ee
authored
Jul 13, 2020
by
Lee Tickett
Committed by
Kushal Pandya
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `:prevent_closing_blocked_issues` feature flag
parent
e948fb1c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+1
-1
changelogs/unreleased/fix_blocked_issue_warning.yml
changelogs/unreleased/fix_blocked_issue_warning.yml
+5
-0
ee/spec/requests/projects/issues_controller_spec.rb
ee/spec/requests/projects/issues_controller_spec.rb
+0
-2
No files found.
app/views/projects/issues/_discussion.html.haml
View file @
a3bfa9ee
...
...
@@ -7,7 +7,7 @@
%section
.issuable-discussion.js-vue-notes-event
#js-vue-notes
{
data:
{
notes_data:
notes_data
(
@issue
).
to_json
,
noteable_data:
serialize_issuable
(
@issue
,
with_blocking_issues:
Feature
.
enabled?
(
:prevent_closing_blocked_issues
,
@issue
.
project
)
),
noteable_data:
serialize_issuable
(
@issue
,
with_blocking_issues:
true
),
noteable_type:
'Issue'
,
target_type:
'issue'
,
current_user_data:
UserSerializer
.
new
.
represent
(
current_user
,
{
only_path:
true
},
CurrentUserEntity
).
to_json
}
}
changelogs/unreleased/fix_blocked_issue_warning.yml
0 → 100644
View file @
a3bfa9ee
---
title
:
Remove `:prevent_closing_blocked_issues` feature flag
merge_request
:
32630
author
:
Lee Tickett
type
:
fixed
ee/spec/requests/projects/issues_controller_spec.rb
View file @
a3bfa9ee
...
...
@@ -21,8 +21,6 @@ RSpec.describe Projects::IssuesController do
context
'with blocking issues'
do
before
do
stub_feature_flags
(
prevent_closing_blocked_issues:
true
)
get_show
# Warm the cache
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