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
0151a149
Commit
0151a149
authored
Mar 14, 2016
by
Dmitry Viskov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Asides can be exported with the rest of courseware through the Export function within CMS
parent
a406a221
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
+0
-0
common/lib/xmodule/xmodule/xml_module.py
+7
-0
requirements/edx/github.txt
+1
-1
No files found.
common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py
View file @
0151a149
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/xml_module.py
View file @
0151a149
...
@@ -5,6 +5,7 @@ import os
...
@@ -5,6 +5,7 @@ import os
import
sys
import
sys
from
lxml
import
etree
from
lxml
import
etree
from
xblock.core
import
XML_NAMESPACES
from
xblock.fields
import
Dict
,
Scope
,
ScopeIds
from
xblock.fields
import
Dict
,
Scope
,
ScopeIds
from
xblock.runtime
import
KvsFieldData
from
xblock.runtime
import
KvsFieldData
from
xmodule.x_module
import
XModuleDescriptor
,
DEPRECATION_VSCOMPAT_EVENT
from
xmodule.x_module
import
XModuleDescriptor
,
DEPRECATION_VSCOMPAT_EVENT
...
@@ -428,6 +429,12 @@ class XmlParserMixin(object):
...
@@ -428,6 +429,12 @@ class XmlParserMixin(object):
"""
"""
# Get the definition
# Get the definition
xml_object
=
self
.
definition_to_xml
(
self
.
runtime
.
export_fs
)
xml_object
=
self
.
definition_to_xml
(
self
.
runtime
.
export_fs
)
for
aside
in
self
.
runtime
.
get_asides
(
self
):
if
aside
.
needs_serialization
():
aside_node
=
etree
.
Element
(
"unknown_root"
,
nsmap
=
XML_NAMESPACES
)
aside
.
add_xml_to_node
(
aside_node
)
xml_object
.
append
(
aside_node
)
self
.
clean_metadata_from_xml
(
xml_object
)
self
.
clean_metadata_from_xml
(
xml_object
)
# Set the tag on both nodes so we get the file path right.
# Set the tag on both nodes so we get the file path right.
...
...
requirements/edx/github.txt
View file @
0151a149
...
@@ -69,7 +69,7 @@ git+https://github.com/edx/rfc6266.git@v0.0.5-edx#egg=rfc6266==0.0.5-edx
...
@@ -69,7 +69,7 @@ git+https://github.com/edx/rfc6266.git@v0.0.5-edx#egg=rfc6266==0.0.5-edx
git+https://github.com/edx/lettuce.git@0.2.20.002#egg=lettuce==0.2.20.002
git+https://github.com/edx/lettuce.git@0.2.20.002#egg=lettuce==0.2.20.002
# Our libraries:
# Our libraries:
git+https://github.com/edx/XBlock.git@xblock-0.4.
7#egg=XBlock==0.4.7
git+https://github.com/edx/XBlock.git@xblock-0.4.
8#egg=XBlock==0.4.8
-e git+https://github.com/edx/codejail.git@6b17c33a89bef0ac510926b1d7fea2748b73aadd#egg=codejail
-e git+https://github.com/edx/codejail.git@6b17c33a89bef0ac510926b1d7fea2748b73aadd#egg=codejail
-e git+https://github.com/edx/js-test-tool.git@v0.1.6#egg=js_test_tool
-e git+https://github.com/edx/js-test-tool.git@v0.1.6#egg=js_test_tool
-e git+https://github.com/edx/event-tracking.git@0.2.1#egg=event-tracking==0.2.1
-e git+https://github.com/edx/event-tracking.git@0.2.1#egg=event-tracking==0.2.1
...
...
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