Doesn't seem to be a codeshare specific issue? I know I'm being pedantic but it could have happened to any inter-line booking, whether the ticket issuer book the codeshare or just a standard interline.
Unfortunately that's just the reality of airline IT systems mostly being lipstics on a pig...