Fixed bug #15304: csv export is limiting exported fields to 100 chars (thanks to...
authorSusanne Moog <typo3@susannemoog.de>
Tue, 3 Aug 2010 19:02:48 +0000 (19:02 +0000)
committerSusanne Moog <typo3@susannemoog.de>
Tue, 3 Aug 2010 19:02:48 +0000 (19:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8478 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php
typo3/class.db_list_extra.inc

index 994e2a9..a8893c9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-03  Susanne Moog  <typo3@susanne-moog.de>
+
+       * Fixed bug #15304: csv export is limiting exported fields to 100 chars (thanks to Bj√∂rn Pedersen)
+
 2010-08-03  Oliver Hader  <oliver@typo3.org>
 
        * Fixed bug #15265: InstallTool-login not possible after Update to 4.4.1 due to session_start() in extensions (thanks to Ernesto Baschny and Helmut Hummel)
 2010-08-03  Oliver Hader  <oliver@typo3.org>
 
        * Fixed bug #15265: InstallTool-login not possible after Update to 4.4.1 due to session_start() in extensions (thanks to Ernesto Baschny and Helmut Hummel)
index c9e49b7..dc5ebf0 100644 (file)
@@ -2330,7 +2330,7 @@ final class t3lib_BEfunc {
         */
        public static function getProcessedValueExtra($table, $fN, $fV, $fixed_lgd_chars = 0, $uid = 0, $forceResult = TRUE) {
                global $TCA;
         */
        public static function getProcessedValueExtra($table, $fN, $fV, $fixed_lgd_chars = 0, $uid = 0, $forceResult = TRUE) {
                global $TCA;
-               $fVnew = self::getProcessedValue($table, $fN, $fV, $fixed_lgd_chars, 0, 0, $uid, $forceResult);
+               $fVnew = self::getProcessedValue($table, $fN, $fV, $fixed_lgd_chars, 1, 0, $uid, $forceResult);
                if (!isset($fVnew)) {
                        if (is_array($TCA[$table])) {
                                if ($fN==$TCA[$table]['ctrl']['tstamp'] || $fN==$TCA[$table]['ctrl']['crdate']) {
                if (!isset($fVnew)) {
                        if (is_array($TCA[$table])) {
                                if ($fN==$TCA[$table]['ctrl']['tstamp'] || $fN==$TCA[$table]['ctrl']['crdate']) {
index 85c77af..e0e6859 100644 (file)
@@ -732,7 +732,9 @@ class localRecordList extends recordList {
                                } else {
                                        $tmpProc = t3lib_BEfunc::getProcessedValueExtra($table, $fCol, $row[$fCol], 100, $row['uid']);
                                        $theData[$fCol] = $this->linkUrlMail(htmlspecialchars($tmpProc), $row[$fCol]);
                                } else {
                                        $tmpProc = t3lib_BEfunc::getProcessedValueExtra($table, $fCol, $row[$fCol], 100, $row['uid']);
                                        $theData[$fCol] = $this->linkUrlMail(htmlspecialchars($tmpProc), $row[$fCol]);
-                                       $row[$fCol] = $tmpProc;
+                                       if ($this->csvOutput) {
+                                               $row[$fCol] = t3lib_BEfunc::getProcessedValueExtra($table, $fCol, $row[$fCol], 0, $row['uid']);
+                                       }
                                }
                        }
 
                                }
                        }