usage_key is a string sometimes, not a UsageKey

Description

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Calen Pennington
January 14, 2015, 3:20 PM

Hm. It's possible we fixed this, then. Feel free to mark it not reproducable

hrazaR
January 14, 2015, 2:09 PM

I followed the concrete steps above but the tests are failing instead of throwing Attribute error .

Adam Palay
January 8, 2015, 4:20 PM

Looks like an issue with old ORA's peergrading module. value is being set to an empty string in this method: https://github.com/edx/XBlock/blob/master/xblock/fields.py#L438

Calen Pennington
January 6, 2015, 4:57 PM

So, concrete steps are:
1) Download that course
2) Run a modified version of test_cross_modulestore_import_export.py that changes `COURSE_DATA_NAMES` and `TEST_DATA_DIR` to point to the downloaded course
3) Observe failure

Calen Pennington
January 6, 2015, 4:55 PM

Yes, this happened when I ran the CrossStoreXMLRoundtrip tests against the arbi/cs205/1T2014 course.

Not Reproducible

Assignee

hrazaR

Reporter

Calen Pennington

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-3