make field inheritance work when source field is defined in old api

Fixes #2088 and #2188.