[TYPO3-dam-devel] RFC #8529: dam_ttcontent does not respect workspaces

Ingo Renner ingo at typo3.org
Tue May 27 17:13:53 CEST 2008


Hi all,

Type: bugfix/feature

BT Reference: http://bugs.typo3.org/view.php?id=8529

Problem:
When in a DRAFT workspace the page module would still display the images 
used in the LIVE version of a content element. Also when comparing the 
LIVE and DRAFT versions in the user->workspace module there are no 
thumbnails shown, but only the file counter from the references field.

Solution:
The attached patch fixes the display of images of DRAFT versions in 
DRAFT workspaces. It also uses XCLASSes to add a hook to the workspace 
preview. That hook is then used to process the file reference counter 
field in content elements to correctly display differences of the file 
field by showing thumbnails.

Note:
The hooks provided by the XCLASSes should go into TYPO3 4.3. As soon as 
this is done we can add a version check to dam_ttcontent to switch off 
the XCLASSes and use the existing hooks directly.


all the best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-dam mailing list