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
b2ac92f3
Commit
b2ac92f3
authored
Apr 29, 2019
by
Wei-Meng Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error when reordering/deleting subgroup epics
parent
93bf5d67
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
ee/app/serializers/linked_epic_entity.rb
ee/app/serializers/linked_epic_entity.rb
+1
-1
ee/changelogs/unreleased/weimeng-fix-subgroup-epics.yml
ee/changelogs/unreleased/weimeng-fix-subgroup-epics.yml
+5
-0
ee/spec/services/epic_links/list_service_spec.rb
ee/spec/services/epic_links/list_service_spec.rb
+1
-1
No files found.
ee/app/serializers/linked_epic_entity.rb
View file @
b2ac92f3
...
...
@@ -14,6 +14,6 @@ class LinkedEpicEntity < Grape::Entity
end
expose
:relation_path
do
|
epic
|
group_epic_link_path
(
epic
.
group
,
request
.
issuable
.
iid
,
epic
.
id
)
group_epic_link_path
(
request
.
issuable
.
group
,
request
.
issuable
.
iid
,
epic
.
id
)
end
end
ee/changelogs/unreleased/weimeng-fix-subgroup-epics.yml
0 → 100644
View file @
b2ac92f3
---
title
:
Fix error when reordering/deleting subgroup epics
merge_request
:
11837
author
:
type
:
fixed
ee/spec/services/epic_links/list_service_spec.rb
View file @
b2ac92f3
...
...
@@ -18,7 +18,7 @@ describe EpicLinks::ListService, :postgresql do
state:
epic
.
state
,
reference:
epic
.
to_reference
(
group
),
path:
"/groups/
#{
epic
.
group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
"
,
relation_path:
"/groups/
#{
epic
.
group
.
full_path
}
/-/epics/
#{
parent_epic
.
iid
}
/links/
#{
epic
.
id
}
"
relation_path:
"/groups/
#{
parent_
epic
.
group
.
full_path
}
/-/epics/
#{
parent_epic
.
iid
}
/links/
#{
epic
.
id
}
"
}
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