Like most of my bug reports, this one's pretty simple;
the title describes it all. If you're docked (I tested with a standard rail (applies to rotators and turret docks too I would assume)
you cannot fire your core beam.
Doing so allowed for automatic undocking systems that did not require hooking up a wireless logic and in-ship remote, which was useful for disposable craft like my transport shuttlepods.