TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-08-11T16:36:34ZTYPO3 Forge
Redmine TYPO3 Core - Bug #91979 (Closed): detectDomainRecords.target is set but no target is in a-taghttp://forge.typo3.org/issues/919792020-08-11T16:36:34ZJoe Jonesfoesse@web.de
<p>Dear dev-team,</p>
<p>I had problems, giving the links of the searchresults a target. In the Dokumentation there is detectDomainRecords.target, but is has no effect. I checkt the sourcecode and found the mistake in Classes/Controller/SearchController.php:</p>
<pre><code class="php syntaxhl" data-language="php"> <span class="k">protected</span> <span class="k">function</span> <span class="n">preparePageLink</span><span class="p">(</span><span class="kt">int</span> <span class="nv">$pageUid</span><span class="p">,</span> <span class="kt">array</span> <span class="nv">$row</span><span class="p">,</span> <span class="kt">array</span> <span class="nv">$urlParameters</span><span class="p">):</span> <span class="kt">array</span>
<span class="p">{</span>
<span class="nv">$target</span> <span class="o">=</span> <span class="s1">''</span><span class="p">;</span>
<span class="nv">$uri</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-></span><span class="n">controllerContext</span><span class="o">-></span><span class="nf">getUriBuilder</span><span class="p">()</span>
<span class="o">-></span><span class="nf">setTargetPageUid</span><span class="p">(</span><span class="nv">$pageUid</span><span class="p">)</span>
<span class="o">-></span><span class="nf">setTargetPageType</span><span class="p">(</span><span class="nv">$row</span><span class="p">[</span><span class="s1">'data_page_type'</span><span class="p">])</span>
<span class="o">-></span><span class="nf">setUseCacheHash</span><span class="p">(</span><span class="kc">true</span><span class="p">)</span>
<span class="o">-></span><span class="nf">setArguments</span><span class="p">(</span><span class="nv">$urlParameters</span><span class="p">)</span>
<span class="o">-></span><span class="nf">build</span><span class="p">();</span>
<span class="c1">// If external domain, then link to that:</span>
<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="k">empty</span><span class="p">(</span><span class="nv">$this</span><span class="o">-></span><span class="n">domainRecords</span><span class="p">[</span><span class="nv">$pageUid</span><span class="p">]))</span> <span class="p">{</span>
<span class="nv">$scheme</span> <span class="o">=</span> <span class="nc">GeneralUtility</span><span class="o">::</span><span class="nf">getIndpEnv</span><span class="p">(</span><span class="s1">'TYPO3_SSL'</span><span class="p">)</span> <span class="o">?</span> <span class="s1">'https://'</span> <span class="o">:</span> <span class="s1">'http://'</span><span class="p">;</span>
<span class="nv">$firstDomain</span> <span class="o">=</span> <span class="nb">reset</span><span class="p">(</span><span class="nv">$this</span><span class="o">-></span><span class="n">domainRecords</span><span class="p">[</span><span class="nv">$pageUid</span><span class="p">]);</span>
<span class="nv">$uri</span> <span class="o">=</span> <span class="nv">$scheme</span> <span class="mf">.</span> <span class="nv">$firstDomain</span> <span class="mf">.</span> <span class="nv">$uri</span><span class="p">;</span>
<span class="o">*********</span> <span class="nv">$target</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-></span><span class="n">settings</span><span class="p">[</span><span class="s1">'detectDomainRecords.'</span><span class="p">][</span><span class="s1">'target'</span><span class="p">];</span><span class="o">*********</span>
<span class="nb">print_r</span><span class="p">(</span> <span class="nv">$this</span><span class="o">-></span><span class="n">settings</span><span class="p">[</span><span class="s1">'detectDomainRecords'</span><span class="p">][</span><span class="s1">'target'</span><span class="p">]);</span>
<span class="p">}</span>
<span class="k">return</span> <span class="p">[</span><span class="s1">'uri'</span> <span class="o">=></span> <span class="nv">$uri</span><span class="p">,</span> <span class="s1">'target'</span> <span class="o">=></span> <span class="nv">$target</span><span class="p">];</span>
<span class="p">}</span>
</code></pre>
<p>The marked line must be:<br /><pre><code class="php syntaxhl" data-language="php"><span class="nv">$target</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-></span><span class="n">settings</span><span class="p">[</span><span class="s1">'detectDomainRecords'</span><span class="p">][</span><span class="s1">'target'</span><span class="p">];</span>
</code></pre></p>
<p>Maybe you can verfy this and patch it the next time.</p>
<p>Thank you and regards<br />Martin</p> TYPO3 Core - Feature #91835 (Under Review): TCAdefaults set for CTypes like TCEFORMhttp://forge.typo3.org/issues/918352020-07-21T18:58:46ZJoe Jonesfoesse@web.de
<p>Dear TYPO3-Team,<br />thanks for your great work. I have two improvements as a feature request for TCAdefaults:</p>
<p><strong>1. As in TCEFORM it would be great to specify a CType</strong><br /><pre>
TCAdefaults.tt_content.layout = 1
TCAdefaults.tt_content.types.image.layout= 2
</pre><br />This sets the default layout for images different to the other CTypes. This way would be a very consistent way to configure.</p>
<p><strong>2. Set TCAdefaults even for fields that are disabled</strong><br />Sometimes you would like to set e.g. different layouts via page ts but do not want the editor to change it. Att he moment TCAdefaults are only work, if the field is accessable for the editor. Maybe you could change that?</p>
<p>Have a good day<br />Martin</p> TYPO3 Core - Feature #91646 (Closed): TSConfig Condition: Symphony Pentand to [globalVar = GP:def...http://forge.typo3.org/issues/916462020-06-15T10:44:00ZJoe Jonesfoesse@web.de
<p>Dear TYPO3-Team,</p>
<p>I am looking for the pendant to [globalVar = GP:defVals|tt_content|colPos==2] for TYPO3 10 Symphony Condition. I did not find any solution and wonder, if nobody needs different page-configs for main- and aside-Columns.</p>
<p>One hint in the documentation was "request.getPageArguments()". So I tried <br /><pre><code class="text syntaxhl" data-language="text">[request.getPageArguments().get('defVals|tt_content|colPos') == 2]
</code></pre></p>
<p>without any success.</p>
<p>Maybe there is a working solution and I did not get it?</p>
<p>Thanks you<br />Martin</p>
<p>PS: In this forum it would be cool to choose TS and Fluid as Code-Language :-)</p> TYPO3 Core - Bug #84866 (Closed): Installtool: Deactivate fe_typo_user cookiehttp://forge.typo3.org/issues/848662018-04-25T11:08:19ZJoe Jonesfoesse@web.de
<p>Dear core developers,</p>
<p>once it was possible to deactivate,that TYPO3 sets the cookie fe_typo_user. The cookie is, as war as I know, only usefull for frontend user login. Most sites do not have that feature. From May, 25th all websites need a new data privicy policy. That includes a list of cookies and their need. It would be a big affort, not needing this passus. Maybe you could bring back the option in the install tool.</p>
<p>Thank you for your work<br />Martin</p> TYPO3 Core - Bug #81573 (Closed): Scheduler config check and documentationhttp://forge.typo3.org/issues/815732017-06-14T12:28:24ZJoe Jonesfoesse@web.de
<p>Dear core developers,</p>
<p>I am working with TYPO3 8.6.1 LTS now and had some problems to build the scheduler cron job. One probnlem is the documentation. The cron parameter changed and "scheduler" is depricated. It was not easy to find the correct parameter. But this works: <br /><pre>
.../typo3/sysext/core/bin/typo3 scheduler:run
</pre><br />It would be nice to find this in the scheduler configuration check in the backenend. At the moment there is written erroneously: <br /><pre>
Der Befehl, um den Planer von der Kommandozeile auszuführen lautet: "/.../typo3/sysext/core/bin/typo3 scheduler".
</pre></p>
<p>Also in the scheduler check there is a problem with the point "CLI-Skript". Even if the cron jobs works, the config checks alerts a missing cron job. In the point "Last run (Letzte Ausführung) there is listet the correct timestamp for the last cron job run. TYPO3 seams to be conencted correcty, but the config check does not notice it.</p>
<p>Thanks <br />Martin</p> TYPO3 Core - Bug #81211 (Rejected): Uncought Exeption in list-modul (NAMEPREP: Prohibited input U...http://forge.typo3.org/issues/812112017-05-12T15:27:59ZJoe Jonesfoesse@web.de
<p>Dear TYPO3 Team,</p>
<p>I updated a TYPO3 Installation. The Install Tool was fine (not as told in Bug <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Bug: 8.7 LTS Upgrade Wizard: Execute database migrations on single rows failed (Closed)" href="http://forge.typo3.org/issues/80723">#80723</a>), but the same exeption is thown in the list modul. In the module web it is no problem.</p>
<p>Not alle pages with email adresses make problems. Maybe it is not even an upgrade problem.</p>
<p>1. Adding a new contentelement Image/Text.<br />2. Adding text with the ckeditor. Just a few simple lines with ü, ä, ö<br />3. Save and open list modul <br />--> No problem<br />4. Open the CE and adding a line with an email adress at the end<br />5. Save and open list modul <br />--> No problem<br />6. Open the CE and adding some english text<br />7. Save and open list modul <br />--> No problem<br />8. Open the CE and adding some Text with ö, ü, ä<br />9. Save and open list modul <br />--> the list modul crashes</p>
<p>Following pattern makes problems:<br />- string@string followed by any umlaut</p>
<p>Following patterns make no problems<br />- string ummlaut <br />- string string umlaut sting<br />- string space <code> space string umlaut<br />- string space @string umlaut<br />- string</code> space string umlaut<br />- <LINK <a class="email" href="mailto:email@address.tld">email@address.tld</a>>string space @ space string</LINK> umlaut (setting link with link editor)</p>
<p>It seams, that the conventional pattern of an email address as link text breaks the link validator, if an special char (umlaut) follows -- strange correlation :-/</p>
<p>Please check this and ask, if you need additional informationen.</p>
<p>Thank you<br />Martin</p> TYPO3 Core - Bug #81104 (Closed): ckeditor does not converts inch-mark to " entityhttp://forge.typo3.org/issues/811042017-05-02T12:14:58ZJoe Jonesfoesse@web.de
<p>Dear TYPO3-Team,</p>
<p>by changing to the new RTE-Editor I found a problem with quotationmarks. The typed " does not encoded to &quod; (see Screenshot). The green one was formated by the old RTE and afterwards quotes where replaced by stdWrap.replacement in „ resp. “. The yellow marks are formated by the ckeditor. It is still an inch-mark.</p>
<p>Please have a look at it. It is quite important for correct typography in the web.</p>
<p>Thank you for your work<br />Martin</p> TYPO3 Core - Feature #80228 (Closed): Missing non breaking space in glyphen-popup in ckeditorhttp://forge.typo3.org/issues/802282017-03-10T13:21:10ZJoe Jonesfoesse@web.de
<p>Dear TYPO3-Team,</p>
<p>I just found out, that there is no non breaking space ( ) in the glyphe popup of ckeditor. Maybe is has gone by the board.</p>
<p>Best wishes <br />Martin</p> TYPO3 Core - Bug #80205 (Closed): filebrowser mark files results strange CSS-behaviour in Chrome ...http://forge.typo3.org/issues/802052017-03-09T11:54:29ZJoe Jonesfoesse@web.de
<p>Hallo TYPO3 Team,</p>
<p>i am using TYPO3 8.6.1 and I found a bug in the filebrowser. When marking the files for import in the media list, the html/CSS of the popup gets mixed up. Maybe it depence on the scroll position.I had the problem on selecting files down in the list. In Opera the visible area changes on every click. In Chrome the view vanishes completely by clicking one select box.</p>
<p>See screenshot</p>
<p>Regards<br />Martin</p> TYPO3 Core - Bug #80175 (New): imagecreatetruecolor(): Invalid image dimensions on Image import w...http://forge.typo3.org/issues/801752017-03-07T16:56:11ZJoe Jonesfoesse@web.de
<p>Dear TYPO3 Team,</p>
<p>I updated my TYPO 8.4 to 8.6.1. Many things has changed and so I change all my fluid templates. But one thing I could not solve and I even don't know the exact problem. So I can giv e before-after example:</p>
<p>I had a TS Fluid combination that rendered a "Menu of Subpages" with square PNG images (GIFBUILDER) and centered page media image. The Fluid in Partials/Menu/Type-1.html was:<br /><pre>
<f:for each="{pages}" as="page">
<div class="item">
<figure class="table">
<f:link.page pageUid="{page.uid}" class="imagelink">
<f:cObject typoscriptObjectPath="lib.pageimage" data="{uid:'{page.uid}'}" />
</f:link.page>
</figure>
</div>
</pre></p>
<p>The TS: <br /><pre>
lib.pageimagethumb = FILES
lib.pageimagethumb {
references {
table = pages
uid.dataWrap= {field: uid}
fieldName = media
}
begin = 0
maxItems = 1
renderObj = COA
renderObj {
10 = LOAD_REGISTER
10 {
param = TEXT
param.data = file:current:uid
}
20 = IMAGE
20 {
file = GIFBUILDER
file {
# Format und Größe definieren
XY = 139,139
format = png
10 = IMAGE
10 {
align = c,c
file {
import.data = register:param
treatIdAsReference = 1
width = 110m
height = 110c
}
}
}
}
}
}
</pre></p>
<p>Now I added code to the new Template/MenuSubpages.html and change e.g. data.uid to page.data.uid correspondingly the the content-array. Normaly it should work as before, but I get an Exception: #1476107295: PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /usr/www/users/fischhas/typo3/typo3_src-8.6.1/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php line 2922</p>
<p>"import.data = register:param" returns no image object.</p>
<p>To get the image without GIFBUILDER and LOAD_REGISTER works fine:</p>
<pre>
lib.pageimage = FILES
lib.pageimage {
references {
table = pages
uid.dataWrap= {field: uid}
fieldName = media
}
begin = 0
maxItems = 1
renderObj = IMAGE
renderObj {
file.width = 220m
file.height = 220c
file.import.data = file:current:uid
file.crop.data = file:current:crop
file.treatIdAsReference = 1
altText.data = file:current:alternative // file:current:title // file:current:description // file:current:source
titleText.data = file:current:title
}
}
</pre>
<p>Do you know what happend? Is it a bug? Did anything changed?</p>
<p>Thank you for all the work. <br />Martin</p> TYPO3 Core - Bug #79351 (Closed): ckeditor adds empty paragraph on every content http://forge.typo3.org/issues/793512017-01-17T11:53:07ZJoe Jonesfoesse@web.de
<p>I am looking forward to a new RTE in TYPO3. I tried the experimental ckeditor and found out, that it always adds a <p> </p> at the end of the content. I found some possible solutions, but it is not clear, where to put the config-parameter for ckeditor. I tried in Ressources/Public/JavaScript/defaultconfig.js, but changes did not change anything. <br />So this issue is two issues: <br />1. Bug: undesirable <p> </p><br />2. Feature Request: central settings and documentation</p>
<p>Thank you and keep on :-)</p> TYPO3 Core - Bug #77541 (Closed): Lost Page media after translation and at news media Image-Edito...http://forge.typo3.org/issues/775412016-08-18T14:55:18ZJoe Jonesfoesse@web.de
<p>Hallo dear TYPO3 Developers,</p>
<p>an important bug is in TYPO3 8.3.2 in the multilanguage support:</p>
<p>1. Creating translation of a page does not adopt the ressource media of the standard page property.<br />2. Adding a ressource media to the translated page property is possible, but the image editor to create crops is not available.</p>
<p>In my case the header image now is rendered much to small, 'cause it assumes, that the ditor has cropped the image to a fixed proportion. The best would be, as the content elements do, the translated page adopts all properties of the standard page and you can change settings if necessary. <br />The missing Image Editor should be in translated resource medias as well.</p>
<p>Thanks<br />Martin</p> TYPO3 Core - Feature #77532 (Closed): Add possibility to define multiple croppings per imagehttp://forge.typo3.org/issues/775322016-08-17T17:35:18ZJoe Jonesfoesse@web.de
<p>The current implementation of the cropping tool does just support one cropping area.<br />For future features like "cropping area per viewport" we need the possibility to define multiple cropping areas.</p>
<p>This could be done on a key basis. So you can define multiple cropping keys and define a cropping area for each key.</p>
<p>For example:<br />The image is 100px100px</p>
Cropping keys:
<ul>
<li>mobile: y 10, x 10, w 40, h 40</li>
<li>tablet: y 10, x 10, w 60, h 60</li>
</ul>
<p>Original Ticket Text:</p>
<blockquote>
<p>Dear BE-Team,</p>
<p>it would be great to create different edits of one resource media file. The cropping feature is great, so it would be a great topping not to refer a media file twice to get two different cropping areas (e.g. headerimage and menuimage of the same > keyimage) but add a second edit of the media file.</p>
<p>Best wishes<br />Martin</p>
</blockquote> TYPO3 Core - Feature #77531 (Closed): Get cropped image in Fluid width <f:image /> and similarhttp://forge.typo3.org/issues/775312016-08-17T17:29:47ZJoe Jonesfoesse@web.de
<p>Hallo,</p>
<p>it is a great feature to crop images directly in TYPO3.</p>
<p>Now I want to build a menu of subpages with images from the page media ressource. First problem: the page-object only gives the amount of media, not an array of media-objects, so you need some vhs-viewhelpers. I used a part of this script:<br />[<a class="external" href="https://www.rutschmann.biz/blog/post/typo3-7-lts-fluid-styled-content-spezialmenue-auflistung-der-unterseiten-mit-bild-aus-seiteneigens/">https://www.rutschmann.biz/blog/post/typo3-7-lts-fluid-styled-content-spezialmenue-auflistung-der-unterseiten-mit-bild-aus-seiteneigens/</a>]</p>
<p>So I do not have access of the image object therefor I can't use <f:media /> like the fluid_styled_content MediaGallery.html partial. That needs an object and returns the cropped image.</p>
<p>The media-array in that specific script returns a string "crop" = {"x":278.14336188436846,"y":0,"width":1955.5631691648816,"height":5180.299785867236,"rotate":0,"s caleX":1,"scaleY":1} <br />Maybe it is possible to apply that crop to the <f:image />.</p>
<p>Thanks <br />Martin</p> TYPO3 Core - Bug #77193 (Closed): Wrong Resourcepath for BE-Icons in form.csshttp://forge.typo3.org/issues/771932016-07-21T12:31:42ZJoe Jonesfoesse@web.de
<p>Dear TYPO3-Developers,</p>
<p>at first thanks for your great work. I just set up the new TYPO3 8.2 version and found a small problem in the tx_form sysext:</p>
<p>In form.css in line 577 and 580 you link to the resource "actions-delete.svg" and "actions-open.svg". But the path has one "../" too much</p>
<p><strong>correct Path:</strong><br />#fake-form .formwizard-element button.t3-icon-edit-delete {<br /> background-image: url('../../../../core/Resources/Public/Icons/T3Icons/actions/actions-delete.svg');<br />}<br />#fake-form .formwizard-element button.t3-icon-document-open {<br /> background-image: url('../../../../core/Resources/Public/Icons/T3Icons/actions/actions-open.svg');<br />}</p>
<p>For the next release :-)</p>
<p>Bye</p>