[BUGFIX] Field name conversion uses upperCamelCase 95/45095/2
authorStanislas Rolland <typo3@sjbr.ca>
Wed, 2 Dec 2015 16:08:54 +0000 (11:08 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Wed, 2 Dec 2015 16:10:53 +0000 (17:10 +0100)
TcaSelectItemsProcessor->replaceSelectorIndexField field name
conversion uses upperCamelCase instead of lowerCamelCase.

Resolves: #71910
Change-Id: I714fcb98d17e54d1bd8dc6691c9540a6b866b58a
Reviewed-on: https://review.typo3.org/45095
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
ChangeLog
Classes/Hook/Backend/Form/FormDataProvider/TcaSelectItemsProcessor.php

index f7d192f..f5bd72c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2015-12-02  Stanislas Rolland  <typo3(arobas)sjbr.ca>
 
        * Resolves #72009: composer.json wrong replace
+       * Resolves #71910: Field name conversion uses upperCamelCase instead of lowerCamelCase
 
 2015-11-23  Stanislas Rolland  <typo3(arobas)sjbr.ca>
 
index 1fc6d81..7d33997 100644 (file)
@@ -211,7 +211,7 @@ class TcaSelectItemsProcessor {
                                                if ($columnsMapping[$indexField]['mapOnProperty']) {
                                                        $indexProperties[] = $columnsMapping[$indexField]['mapOnProperty'];
                                                } else {
-                                                       $indexProperties[] = GeneralUtility::underscoredToUpperCamelCase($indexField);
+                                                       $indexProperties[] = GeneralUtility::underscoredToLowerCamelCase($indexField);
                                                }
                                        }
                                        // Index rows by uid