Add validation on path item to ensure that pid belongs to correct entity before update.

Closes #3622156

Merge request reports

Loading
Loading