Improper file relations to content element in draft workspace
When I added a picture file into content element (type images or text+images) in draft workspace - it doesn't appear in draft/live front-end preview. Also when I publish page.
When I add second picture to this element in draft space - all pictures shows on live front-end. Actually picture that is already in live and draft workspace is doubled in preview, and draft preview is still empty.
Situation however looks proper in back-end (in both list and page module).
I noticed that reason is that all relations in sys_file_references are connected to live version of the element, not to it's shadow. So when I corrected manually uid_foreign to proper one - situation was fixed on preview! (live id of tt_content record is 254011, shadow is 254013).
References in db before:
And after fixing relation:
It was tested on 6.2.10. It's similar on 6.2.11 and newest 6.2.12-dev, however I wasn't able to test it fully, since I wasn't able to reedit content element in draft space after saving :(.
I have a big customer that uses workspaces massively so upgrade to 6.2 from 6.1 is now problematic.