Bug #78830
closedimages attached to record in workspace get removed when published to live
0%
Description
Hi,
we discovered a scenario in which image attachments of a record, created in a workspace, get removed, when published to the live workspace.
I attached an example extension with just a dummy model and an image field. It appears to only happen with the TCA setting of type "group":
'image' => array(
'exclude' => 0,
'label' => 'LLL:EXT:dummy/Resources/Private/Language/locallang_db.xlf:tx_dummy_domain_model_dummy.image',
'config' => array(
'type' => 'group',
'internal_type' => 'file',
'uploadfolder' => 'uploads/tx_dummy',
'show_thumbs' => 1,
'size' => 1,
'maxitems' => 1,
'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
'disallowed' => '',
),
),
To reproduce this problem, the following steps are required:
- install a new typo3 7.6.12
- install the "workspace" extension and the attached "dummy" extension
- create a root page and a workspace record "Test"
- switch to the workspace and create a new "dummy" record with an uploaded image attached.
- check the upload path "uploads/tx_dummy/filename.*" - the file should be there as expected
- go to the workspace module and publish the new record to LIVE
- now check the upload path again - file suddenly got removed and is nowhere else to be found
- if you now open the record in the list module, you will get a "File is missing!" error message.
Files