In CSIDE10.5 the BuildOspace() call was added to the module Startup() function. It goes like this:
Object globals = $MyModule = .Globals.Initialize()
Within Initialize() it calls:
newGlobals.BuildOSpace()
Within BuildOSpace() it calls
.SubclassBuildOSpace()
Within SubclassBuildOSpace() I do a bunch of things to setup my module and do so by referencing $MyModule. The problem is $MyModule isn't defined yet since it's only assigned after Initialize() returns. I know I could fix this with a fully qualified object reference, but I need to maintain backwards compatibility with older version of Content Server. Is this a bug? Any workarounds?