DDA691x, Error: 'SequenceDescriptionWithMixins' object has no attribute 'id'

Description

Course launches Sept. 16. May be soft launching tomorrow - asking course team for clarification.

Appears related to TNL-3140.

Error message appeared after moving course from edge to edx.

fyi , ,

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Waheed Ahmed
September 8, 2015, 7:58 PM

We need it to check user permissions for discussion module like create_comment, create_thread etc.

Yes I think we can get course_id directly like this self.course_id because DiscussionModule is inheriting XModule and it is inheriting XModuleMixin which have property course_id, and then we can get course like this:

Adam Palay
September 8, 2015, 8:44 PM

yes, I think there's something weird going on with draft modules with multiple parents.

Waheed Ahmed
September 11, 2015, 8:33 PM
Shelby Quinn
September 14, 2015, 7:27 PM

, - will this fix also solve for (Chem181x and MITx 20.305x)?

Adam Palay
September 14, 2015, 8:50 PM

, yeah, it should.

Fixed

Assignee

Waheed Ahmed

Reporter

Shelby Quinn

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
Configure