OpenAssessmentBlockWithMixins error when exporting course to XML

Description

The django command export_course is raising the following error:

Some affected courses:

  • AdelaideX/Language101/2015_S1

  • BUx/ARPO222x/3T2014

  • DelftX/CTB3300WCx/2T2014

  • HarvardX/GSE2x/2T2014

  • HKUSTx/EBA101x/3T2014

  • McGillX/ATOC185x/2014_T2

  • MITx/8.MReVx/2T2014

  • PekingX/04830260x/2015Q1

  • RiceX/APESx/2014_15

  • UQx/Write101x/3T2014

  • WellesleyX/ITAS103/Fall_2014

The failures were detected during the weekly research data exports using the latest release of the platform.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Adam Palay
December 5, 2014, 9:29 PM

link to course export page for easy verification: https://studio.stage.edx.org/export/UQx/Write101x/3T2014

Adam Palay
December 5, 2014, 6:24 PM

PR: https://github.com/edx/edx-platform/pull/6161

It turns out that draft openassessment blocks don't export. (In fact, any draft xblock without xml_attributes defined on it doesn't export)

dmitchellR
November 7, 2014, 8:52 PM
Edited

Hmmm, I thought we had protected all these accesses. Can you just use xmodule.modulestore.xml_importer.get_parent_url (and its cousin for index)? If not, perhaps move that fn to a common place in which you can use it?

Adam Palay
November 7, 2014, 7:37 PM

, should we just create the xml_attributes attr if it doesn't exist for a module on export?

Fixed

Assignee

Adam Palay

Reporter

rochaR

Labels

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

CAT-2