Use ->getKey() for base fields.

Closes #3554518

Merge request reports

Loading