We're implementing OS and after successfully setting up and theming 1 profile, we started creating more and pre-populating them with publication data.
After more profiles were created, all new content is no longer associated with the correct scholar site or organic group. True for bios, publications, whatever. They all show up in the content list, but not in the site. On inspecting the data, the nodes aren't getting placed in the og_ancestry table. If this mysql entry is inserted by hand the content will show up fine.
Anyone have any idea where to start debugging this? Which files to go through etc? This is all very odd since I can't imagine how creating more scholar sites led to this being a problem. I've never worked with OS or OG before so I'm kind of at a loss and staring at a rather large codebase here.
UPDATE:
The issue with the non-publication nodes was a false negative. The only ones which are showing up ungrouped are publications. No idea why they would be different.