Old mongo inheritance for moved components wrong

Description

I believe https://github.com/edx/edx-platform/blob/master/common/lib/xmodule/xmodule/modulestore/mongo/base.py#L608 by mashing published and draft versions together will screw up inheritance for any moved but not yet published components (anything whose parent can be draft). Test by following xmodule.modulestore.tests.test_mixed_modulestore.TestMixedModuleStore.test_get_parent_locations_moved_child and setting an inheritable property on the old parent to non-default value. You should see that the draft problem has that value for the property rather than the default value.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Unassigned

Reporter

dmitchellR

Labels

Reach

None

Impact

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Stakeholders

None

Story Points

2

Priority

CAT-3
Configure