[TYPO3-core] RFC: #9793: No way to hook into the publish process for a workspace

Julian Kleinhans jk at marketing-factory.de
Wed Nov 26 12:31:56 CET 2008


+1 by reading and testing

regards julian



Erik Frister schrieb:
> Sorry for double post, I forgot to include the patch file.
> 
> Erik Frister schrieb:
>> This is an SVN patch request.
>>
>> Type: New feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=9793
>>
>> Branches:
>> TYPO3_4-2 & trunk
>>
>> Problem:
>> There is currently no way that we can hook into the version swap 
>> method for a given record in the tcemain.php. This is needed for the 
>> next commerce release; so that when a record is published (switched 
>> into the LIVE Workspace) we can also publish related records that 
>> would otherwise stay connected to the old version.
>>
>> Example use:
>> A product is to be published; the product record has related 
>> attributes which refer to the product uid. Without the hook, when the 
>> product is published, the attributes are not informed of the version 
>> swap and still refer to the (now) offline version of the record.
>>
>> Solution:
>> Implemented a hook in the version_swap method of the tcemain.
> 


More information about the TYPO3-team-core mailing list