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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
4d4d0a7e
Commit
4d4d0a7e
authored
Aug 01, 2018
by
Constance Okoghenun
Committed by
Phil Hughes
Aug 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "List of projects not loading when trying to create an issue from a board (TypeError)"
parent
5815b830
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
1 deletion
+42
-1
app/assets/javascripts/boards/components/board_new_issue.vue
app/assets/javascripts/boards/components/board_new_issue.vue
+1
-0
app/assets/javascripts/boards/components/project_select.vue
app/assets/javascripts/boards/components/project_select.vue
+1
-1
changelogs/unreleased/49499-list-of-projects-not-loading-when-trying-to-create-an-issue-from-a-board-typeerror.yml
...when-trying-to-create-an-issue-from-a-board-typeerror.yml
+5
-0
spec/features/groups/board_spec.rb
spec/features/groups/board_spec.rb
+35
-0
No files found.
app/assets/javascripts/boards/components/board_new_issue.vue
View file @
4d4d0a7e
...
...
@@ -115,6 +115,7 @@ export default {
:id=
"list.id + '-title'"
class=
"form-control"
type=
"text"
name=
"issue_title"
autocomplete=
"off"
/>
<project-select
...
...
app/assets/javascripts/boards/components/project_select.vue
View file @
4d4d0a7e
...
...
@@ -46,7 +46,7 @@ export default {
selectable
:
true
,
data
:
(
term
,
callback
)
=>
{
this
.
loading
=
true
;
return
Api
.
groupProjects
(
this
.
groupId
,
term
,
projects
=>
{
return
Api
.
groupProjects
(
this
.
groupId
,
term
,
{},
projects
=>
{
this
.
loading
=
false
;
callback
(
projects
);
});
...
...
changelogs/unreleased/49499-list-of-projects-not-loading-when-trying-to-create-an-issue-from-a-board-typeerror.yml
0 → 100644
View file @
4d4d0a7e
---
title
:
Fixed list of projects not loading in group boards
merge_request
:
20955
author
:
type
:
fixed
spec/features/groups/board_spec.rb
0 → 100644
View file @
4d4d0a7e
require
'rails_helper'
describe
'Group Boards'
do
let
(
:group
)
{
create
(
:group
)
}
let!
(
:project
)
{
create
(
:project_empty_repo
,
group:
group
)
}
let
(
:user
)
{
create
(
:group_member
,
:maintainer
,
user:
create
(
:user
),
group:
group
).
user
}
before
do
sign_in
(
user
)
end
context
'Creates a an issue'
,
:js
do
before
do
visit
group_boards_path
(
group
)
end
it
'Adds an issue to the backlog'
do
page
.
within
(
find
(
'.board'
,
match: :first
))
do
issue_title
=
'New Issue'
find
(
:css
,
'.issue-count-badge-add-button'
).
click
expect
(
find
(
'.board-new-issue-form'
)).
to
be_visible
fill_in
'issue_title'
,
with:
issue_title
find
(
'.dropdown-menu-toggle'
).
click
wait_for_requests
click_link
(
project
.
name
)
click_button
'Submit issue'
expect
(
page
).
to
have_content
(
issue_title
)
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