[BUGFIX] File collection should request update after changing the storage 31/19731/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sat, 6 Apr 2013 22:33:03 +0000 (00:33 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Sun, 7 Apr 2013 11:04:29 +0000 (13:04 +0200)
Currently the form is not reloaded if you change the storage inside a
file collection record.
You need to save the form before you can select a folder.

Automatically reload the form after changing the storage.

Fixes: #47007
Releases: 6.1,6.0
Change-Id: Ide6dddca64707f7f353aecc98943c79afd9eec78
Reviewed-on: https://review.typo3.org/19718
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-on: https://review.typo3.org/19731

t3lib/stddb/tables.php

index 3a8a57f..38461e6 100644 (file)
@@ -483,6 +483,7 @@ $TCA['sys_file_collection'] = array(
                        'static' => 'apps-clipboard-images',
                        'folder' => 'apps-filetree-folder-media'
                ),
+               'requestUpdate' => 'storage',
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                        'starttime' => 'starttime',