The forcing of IDs to non-draft must happen in base.py instead of draft.py.
The draft.py solution only worked when the parent was also in the draft store.
Showing
- cms/djangoapps/contentstore/tests/test_item.py 35 additions, 3 deletionscms/djangoapps/contentstore/tests/test_item.py
- common/lib/xmodule/xmodule/modulestore/mongo/base.py 5 additions, 1 deletioncommon/lib/xmodule/xmodule/modulestore/mongo/base.py
- common/lib/xmodule/xmodule/modulestore/mongo/draft.py 1 addition, 6 deletionscommon/lib/xmodule/xmodule/modulestore/mongo/draft.py
Please register or sign in to comment