When using the getRotation node to get the rotation, none of the outputs are correct if the object is parented to another object. Also, there is this known issue that transforming on local axes is buggy. Are there any workarounds for this?
So, I checked again about the getRotaion Node. I expected the getRotation to give global rotation, instead, it gives me the local rotation. In that case, it is not a bug.