[BUGFIX] Hide/Unhide of FileReferences in IRRE does not work
authorSteffen Ritter <info@rs-websystems.de>
Mon, 3 Sep 2012 14:45:38 +0000 (16:45 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 5 Sep 2012 05:41:19 +0000 (07:41 +0200)
IRRE hide/unhide feature just changes the input of the
hidden field. If the field is not present in the rendered
form, the change is not saved to database.

Therefore add the hidden field of sys_file_references to
the hidden palette.

Change-Id: I46ac1e87c49b995c0b5ec9bf0d454de705c88b68
Fixes: #40564
Releases: 6.0
Reviewed-on: http://review.typo3.org/14317
Tested-by: Marcel Burkhalter
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
t3lib/stddb/tca_sys_file_reference.php

index dda95da..1b61d03 100644 (file)
@@ -183,7 +183,7 @@ $TCA['sys_file_reference'] = array(
                ),
                // file palette, hidden but needs to be included all the time
                'filePalette' => array(
-                       'showitem' => 'uid_local',
+                       'showitem' => 'uid_local,hidden',
                        'isHiddenPalette' => TRUE
                )
        )