Issue Bug Closed

#66093Improper file relations to content element in draft workspace

Leslaw Pazdzior 03/27/15, 13:33 updated 05/02/15, 22:21

Description

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.
!scrn_002.png!
scrn_004.png

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.

!scrn_003.png!
scrn_005.png

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:
scrn_006.png

And after fixing relation:
scrn_007.png

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.