make parentgetter idempotent and enable it for publications as well