TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692016-01-25T14:42:35ZTYPO3 Forge
Redmine TYPO3 Core - Bug #72930 (Closed): GraphicalFunctions/GifBuilder vs. Files without Extensionhttp://forge.typo3.org/issues/729302016-01-25T14:42:35ZCarsten Bleickercarsten@bleicker.de
<p>A Storage allows creating files without extension:</p>
<p>f.e. ->createFile('foo', ...)</p>
<p>instead of:<br />->createFile('foo.jpf', ...)</p>
<p>Creating files without extensions is totaly okay for me and also useful if you f.e. running an upload frontend api.</p>
<p>Example Request<br />POST /api/myProduct/mainImage/foo<br />Content-Type: image/jpg<br />Content: The Payload</p>
<p>Putting this into a Storage works well:<br /><del>>createFile('foo', ...)</del>>setContent($payload);</p>
<p>But there is a problem.<br />You can add the new fal record to another record as relation.</p>
<p>Example:<br />§myProduct->setMainImage($theResourceOfPreviousAPIUpload);</p>
<p>Now edit a simple property (f.e. the name of the product) of the Produkt in the Typo3 Backend and save it. T3 checks here, if there are any unknown file extensions exists on $mainImage and removes the relation. After saving the mainImage is gone. It's bad, that T3 removes already existing relations. Better leave it as it is and only check for new files but never remove existing relations.</p>
<p>1.<br />If T3 behaviour is based on file-extensions instead of the mimetype the storage-api should not accept files without an extension.</p>
<p>2.<br />Filetypes should be detected by mimetype everywhere.</p>
<p>3.<br />Storage-API should support passing an optional identifier for this file which is different to its name. If this param is set, T3 should use this identifier instead of building its identifier by the $filename property. Identifier should not contain any kind of path info. Its just used to fetch it by identifier. Identifier and Filename ist different to me.</p>
<p>4.<br />Several cases in t3 using different kind of GraphicalFunctions.<br />IRRE using GraphicalFunction. Frontend using GifBuilder extends GraphicalFunction.<br />You have to patch both if you want to patch them to work proper with extensionless files.</p>
<p>$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\TYPO3\CMS\Core\Imaging\GraphicalFunctions::class]['className'] = \Foo\Bar\Imaging\GraphicalFunctions::class;<br />$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\TYPO3\CMS\Frontend\Imaging\GifBuilder::class]['className'] = \Foo\Bar\Imaging\GifBuilder::class;</p>
<p>These Object changes seems not to be enough.<br />- Irre showing extensionless preview images.<br />- Frontend showing extensionless preview images.<br />- Fileadmin does NOT showing extensionless images<br />- Fileadmin/EditFile shows extensionless images</p>
<p>Seems that different places using several different kind of image processes. Should be "centralized", i think.<br />F.e. GifBuilder should act as a decorator instead of extending the GraphicalFunctions.<br />Gifbuilder should inherit changes by $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\TYPO3\CMS\Core\Imaging\GraphicalFunctions::class]['className'].</p>
<p>[pre]<br />class GifBuilder{</p>
/**
<ul>
<li>@var GraphicalFunctions<br /> */<br /> $graphicalFunctions;</li>
</ul>
<pre><code>... Then needed decorating functions<br />}</code></pre>
<p>instead of:</p>
<p>class GifBuilder extends GraphicalFunctions {<br /> ...<br />}<br />[/pre]</p> TYPO3 Core - Task #72254 (Rejected): Throw sql exceptions with sql error numberhttp://forge.typo3.org/issues/722542015-12-15T17:57:20ZCarsten Bleickercarsten@bleicker.de
<p>typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php:862</p>
<p>Current:<br />throw new \TYPO3\CMS\Extbase\Persistence\Generic\Storage\Exception\SqlErrorException($error, 1247602160);</p>
<p>Better:<br />throw new \TYPO3\CMS\Extbase\Persistence\Generic\Storage\Exception\SqlErrorException($error, 1247602160, $this->databaseHandle->sql_errno());</p>
<p>Passing the sql_errno() to exception is usefull f.e. for API Endpoints having unique constraints.<br />Currently its not possible to handline Duplicate Key db errors.<br />With sql_errno() you could do:</p>
<pre>
try{
// Create Record ...
}catch(SqlErrorException $e){
if($e->getSqlErrorNumber() === 1062){
throw new ThrowableException('Duplicate Entry ...', ....);
}
}
</pre>
<p>Also errno never appears in log entries of catched exceptions.</p> TYPO3 Core - Task #72001 (Rejected): Extbase Alpha Statehttp://forge.typo3.org/issues/720012015-12-01T13:48:11ZCarsten Bleickercarsten@bleicker.de
<p>Since extbase does not properly support core features mark it as alpha.<br />Anything else is a lie and leads to frustration.</p> TYPO3 Core - Task #71684 (Closed): Logging Conceptshttp://forge.typo3.org/issues/716842015-11-19T13:49:34ZCarsten Bleickercarsten@bleicker.de
<p>I realy have problems to understand all the different logging stuff.</p>
<p>There is a new psr logger.<br />Also there is a $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'].</p>
<p>Do they have something in common? What is the difference?</p>
<p>\TYPO3\CMS\Core\Log\LogLevel constants range values: 0-7<br />$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] range values: 0-4</p>
<p>NOTICE Level of $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] = 1<br />NOTICE Level of \TYPO3\CMS\Core\Log\LogLevel::NOTICE = 5</p> TYPO3 Core - Task #58800 (Closed): Wrong error message if local extension installation is disabled http://forge.typo3.org/issues/588002014-05-14T13:01:28ZCarsten Bleickercarsten@bleicker.de
<p>If you disable the installation of extension through the extension manager you are runnig in a confusing error message<br />on trying to install an extension, @see attachement.</p>
<p>I disabled the manager because any install/uninstall of extensions should be handled by composer manifests and git.</p> TYPO3 Core - Bug #40077 (Closed): l10n mode and label_alt dont interacthttp://forge.typo3.org/issues/400772012-08-23T12:55:05ZCarsten Bleickercarsten@bleicker.de
<p>having a tca field defined as l10n exclude and also this field as label_alt the label_alt value in listing should also be fetched from the translation original. also in mergeIfNotBlank mode.</p> TYPO3 Core - Bug #34179 (Closed): MM_opposite_field if config is select fieldhttp://forge.typo3.org/issues/341792012-02-22T13:27:33ZCarsten Bleickercarsten@bleicker.de
<p>hi folks,<br />i just tried to setup a mm f.e. company => employes wich opposite field setting "MM_opposite_field".<br />it works perfekt if i configure it as a "type => group" but it does not work on "type => select" field.</p>
<p>anyone can reproduce this?</p> TYPO3 Core - Bug #29784 (Closed): Inline Editing in Firefoxhttp://forge.typo3.org/issues/297842011-09-14T16:31:03ZCarsten Bleickercarsten@bleicker.de
<p>hi folks,<br />i have some parent child relations done with inline.<br />something like a pagetree. in firefox the formfields for new child record arent displayed after level 7 or 8. dont know exactly. the json wich is returned seems to bee okay. in chrome i have formfields for the child also after level 7 or 8 wich crashed in ff. up to level 20 is no problem in chrome. can someone figure out why? my know how at inserting nodes in html by js is ... ehhhh ... not existing :)</p>
<p>ff version is 6.0.2 on linux and windows</p> TYPO3 Core - Task #29182 (Closed): Replace sys_language_uid with static_info_languagehttp://forge.typo3.org/issues/291822011-08-23T11:18:17ZCarsten Bleickercarsten@bleicker.de
<p>Copy Content Elements between two different Clientprojects vie T3N Export will crash,<br />if each Project has different Language Setups.<br />L=1 => English in the first<br />L=1 => French in the second</p>
<p>So i want to discuss, why not use the static_info_language als Sys Language and also its uid for L={uid}.<br />If this will be done, there can also be a TS general default setup vor languages with conditions vor each language becauls the L Parameter is fixed by static_info_language.</p>
<p>What do you think?</p> TYPO3 Core - Bug #28916 (Closed): t3lib_pageSelect language overlayhttp://forge.typo3.org/issues/289162011-08-10T18:56:02ZCarsten Bleickercarsten@bleicker.de
<p>please replace in t3lib_pageSelect::getPageOverlay on Line 318</p>
<p>$fieldArr = explode(',', $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']);</p>
<p>with:<br />$fieldArr = t3lib_div::trimExplode(',', $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']);</p>
<p>so pageOverlayFields with ,this, that, other , will work to doesnt matter how many spaces before and after , inserted.</p>
<p>thanks and kind regards</p>
<p>carsten</p> TYPO3 Core - Feature #28699 (Rejected): Graphicsmagick User Commandhttp://forge.typo3.org/issues/286992011-08-03T14:52:57ZCarsten Bleickercarsten@bleicker.de
<p>i cant find a way to place my own user command to gifbuilder->graphicsmagick.<br />so i wrote just 3 lines in t3lib_stdGraphic::IMparams() after all other cases:</p>
<p>function IMparams($setup) {<br />....<br />case 'user':<br />$commands .= ' ' . $value;<br />break;<br />}</p>
<p>with this i can produce duplex (sepia) images via ts like:<br />page.10 = IMAGE<br />page.10.file = GIFBUILDER<br />page.10.file {</p>
<pre><code>XY = [10.w],[10.h]</code></pre>
<pre><code>10 = IMAGE<br /> 10.file = fileadmin/1.jpg</code></pre>
<pre><code>20 = EFFECT<br /> 30.value = user = -colorspace RGB -modulate 130,0,100 -colorize 100/70/0/10</code></pre>
<p>}</p>
<p>maybe this is a way to support full functions of graphicsmagick an not only predefined?<br />or is there another way to place my own commands?</p>
<p>kind regards<br />carsten</p> TYPO3 Core - Feature #25019 (Closed): Gifbuilder: Create correct png8 images with alpha channels ...http://forge.typo3.org/issues/250192011-02-12T13:15:55ZCarsten Bleickercarsten@bleicker.de
<p>Hi all,<br />i found a linux command line tool to create correct png8 images with alpha channels out of an png32 image.<br />the name of the tool is "pngnq". i asked myself now: "is there a way to integrate this tool in gifbuilder?".</p>
<p>(issue imported from #M17562)</p> TYPO3 Core - Bug #24912 (Closed): saltedpasswords setup not possiblehttp://forge.typo3.org/issues/249122011-02-01T10:23:38ZCarsten Bleickercarsten@bleicker.de
<p>in the ext manager the pulldowns doesn't work to setup backend/frontend features.<br />there is no change after selecting some option in the selectbox.</p>
<p>(issue imported from #M17427)</p> TYPO3 Core - Feature #23885 (Closed): Uploads outside of DOCUMENT_ROOThttp://forge.typo3.org/issues/238852010-10-31T10:00:32ZCarsten Bleickercarsten@bleicker.de
<p>I have Userpics and dont want to save them out of DOCUMENT_ROOT.<br />To do this i just tried this in:</p>
<p>class.t3lib_tcemain.php<br />Line: 6616</p>
<p>function destPathFromUploadFolder($folder) {</p>
<pre><code>// old version<br /> return PATH_site.$folder;</code></pre>
<pre><code>// new version<br /> return realpath(PATH_site.$folder);<br />}</code></pre>
<p>After this change you can specify an uploadfolder in TCA like: '../pathtouploadfolder/'</p>
<p>There is also some Versioning stuff in filehandling on Line 1623.<br />Replace this with: $valueArray[$key] = $dest.$theFile;</p>
<p>(issue imported from #M16186)</p> TYPO3 Core - Bug #23566 (Closed): Are you sure that if.isGreaterThan and if.isLessThan working fine?http://forge.typo3.org/issues/235662010-09-29T18:03:44ZCarsten Bleickercarsten@bleicker.de
<p>I wonder about the result of this:</p>
<p>page.10000 = TEXT<br />page.10000{</p>
<pre><code>if{<br /> value = 9<br /> isGreaterThan = 10<br /> }</code></pre>
<pre><code>value = 9 greater 10?</code></pre>
<p>}</p>
<p>the result is, that 9 is greater than 10?</p>
<p>(issue imported from #M15856)</p>