Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c608c6bd
Commit
c608c6bd
authored
Jul 15, 2015
by
Brandon DeRosier
Committed by
Brandon DeRosier
Sep 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix library error dialog link in Import/Export API
parent
3ff34455
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cms/djangoapps/contentstore/views/import_export.py
+1
-1
openedx/core/djangoapps/import_export/courses/views.py
+3
-3
No files found.
cms/djangoapps/contentstore/views/import_export.py
View file @
c608c6bd
...
...
@@ -155,7 +155,7 @@ def export_handler(request, course_key_string):
"unit"
:
unit
,
"failed_module"
:
failed_module
,
"edit_unit_url"
:
edit_unit_url
,
"course_home_url"
:
successful_url
,
"course
like
_home_url"
:
successful_url
,
"raw_err_msg"
:
error_message
,
"library"
:
library
})
...
...
openedx/core/djangoapps/import_export/courses/views.py
View file @
c608c6bd
...
...
@@ -231,9 +231,9 @@ class FullCourseImportExport(APIView):
"error"
:
True
,
"error_message"
:
str
(
exc
),
"failed_module"
:
str
(
failed_item
.
location
)
if
failed_item
else
None
,
str
(
failed_item
.
location
)
if
failed_item
else
""
,
"unit"
:
str
(
unit
.
location
)
if
unit
else
None
str
(
unit
.
location
)
if
unit
else
""
},
redirect_url
=
redirect_url
)
...
...
@@ -247,7 +247,7 @@ class FullCourseImportExport(APIView):
"context_course"
:
courselike_module
.
url_name
,
"error"
:
True
,
"error_message"
:
str
(
exc
),
"unit"
:
None
"unit"
:
""
},
redirect_url
=
redirect_url
)
...
...
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