#82983Inline Relations use wrong PID
Description
Following scenario in master:
- Create a page named XY (e.g. UID 23)
- Add a “pages.media” inline relation (sys_file_reference) – will have uid_foreign=23 and pid=23
Translate that page
- You’ll have a page translation UID 24
- You’ll have another inline relation (sys_file_reference) – you’ll have uid_foreign=24 and pid=23
So far so good
Now add a second inline relation to the translated page
This one will have uid_foreign=24 and pid=24
This creates inconsistent records