Discrepancy in LMS and CMS modulestore course lists

Description

UQ is having an issue with accessing insights in the run of BIOIMG101x which just completed. It gives an unauthenticated error, and from the insights dashboard this version of the course is not listed. Screenshot of error message attached. I am unable to reproduce.

They can access insights on these two other instances of the course
UQx/BIOIMG101x/1T2014
course-v1:UQx+BIOIMG101x+2T2015

but not course-v1:UQx+BIOIMG101x+1T2015

UPDATE
The bug is not limited to UQx.
There are courses in LMS module store which are absent in CMS moduelstore, and vice versa.

Steps to Reproduce

1) Create split course
2) Create another split course
3) Drop into Mongo shell
4) update course 2's active_version entry such that its draft and publish branch point to course 1's draft and published branch
5) drop into django shell
6) set `store` to the split modulestore
7) run store.get_course on both courses, see that both return
8) run store.get_courses and see that one of the two courses isn't in it

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Waheed Ahmed

Reporter

Emily Watson

Reach

None

Impact

None

Platform Area

None

Customer

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

Story Points

3

Sprint

None

Priority

CAT-2
Configure