TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692009-09-02T11:52:59ZTYPO3 Forge
Redmine TYPO3 Core - Bug #20978 (Closed): Integrate possiblity to extend static classes like t3lib_divhttp://forge.typo3.org/issues/209782009-09-02T11:52:59ZOliver Haderoliver.hader@typo3.org
<p>Static classes like t3lib_div lack of the possibility to be extended as know from the XCLASS notation. However, this won't work for static classes since no object is generated.</p>
Possible tasks:
<ul>
<li>get rid of the "final class" statement</li>
<li>convert static classes to singletons and change the accordant code</li>
<li>think about an API to define static classes to be extensible</li>
</ul>
<p>(issue imported from #M11851)</p> TYPO3 Core - Feature #20521 (Closed): Add possibility to validate a string as regular expressionhttp://forge.typo3.org/issues/205212009-05-28T17:36:19ZOliver Haderoliver.hader@typo3.org
<p>If working with regular expression (regexp) defined by configuration as string it is handy to have a possibility to run a basic validation on this string.</p>
<p>(issue imported from #M11210)</p> TYPO3 Core - Feature #20250 (Closed): Integrate id attribute in form tag of TCEformshttp://forge.typo3.org/issues/202502009-03-27T18:01:53ZOliver Haderoliver.hader@typo3.org
<p>Integrate id attribute in form tag of TCEforms to enable a more easy way to access this element for e.g. JavaScript/AJAX actions.</p>
<p>(issue imported from #M10799)</p> TYPO3 Core - Feature #20167 (Closed): Integrate nice looking message and integrate resend when ba...http://forge.typo3.org/issues/201672009-03-12T00:27:36ZOliver Haderoliver.hader@typo3.org
<p>The backend can be locked down for maintenance by placing the file ./typo3conf/LOCK_BACKEND. The first 60 seconds are critical since the AJAX updater won't get the information about the lock in that time window. Imagine an editor wants to save the modified data and runs into the stop message...</p>
<p>The feature request is to beautify the message (currently it's just a PHP die() call) and to integrate a possibility to resend the submitted POST data. Maybe an periodical updater using AJAX can be integrated here as well. It notifies the user when the backend is unlocked again.</p>
<p>(issue imported from #M10669)</p> TYPO3 Core - Feature #19713 (Closed): Cache thumbnails shown in element browserhttp://forge.typo3.org/issues/197132008-12-18T12:46:57ZOliver Haderoliver.hader@typo3.org
<p>The thumbnails that are shown in the element browser are currently not cached. Each preview of an image is generated on the fly and delivered to the browser (/typo3/thumbs.php?&dummy=1229600609&file=/home/whatever/file.jpg&...).<br />This results in a high time value for loading the page...</p>
<p>To reduce the time and required system performance, these files shall be cached in typo3temp/thumbnails/* or typo3temp/tmb_*)</p>
<p>(issue imported from #M9970)</p> TYPO3 Core - Bug #19559 (Closed): AdminPanel shows superfluous "Include file class.tx_whatever_pi...http://forge.typo3.org/issues/195592008-11-03T11:58:22ZOliver Haderoliver.hader@typo3.org
<p>The AdminPanel shows superfluous "Include file class.tx_whatever_pi1.php" messages even if the file was included before. That's not a real problem, since the file itself gets included by PHP's "include_once" and will be only loaded once. But the information in the AdminPanel can be improved.</p>
For USER_INT objects the flow is like the following:
<ul>
<li>cObj: push object information to $GLOBALS['TSFE']->config['INTincScript'] (with includeLibs configuration)</li>
<li>TSFE: post-process objects and load files of includeLibs configuration</li>
<li>TSFE: recall cObj->USER as "USER" object (not "USER_INT") anymore</li>
<li>cObj: includeLibs is found again and information of "File inclusions" is shown</li>
</ul>
<p>Solution:<br />a) remove includeLibs before passing again to cObj<br />b) track what files have been included before (but takes much longer)</p>
<p>(issue imported from #M9722)</p> TYPO3 Core - Bug #19275 (Closed): TypoScript objects CONTENT and RECORDS do not respect localizat...http://forge.typo3.org/issues/192752008-09-02T18:10:31ZOliver Haderoliver.hader@typo3.org
<p>Imagine someone wants to display the localized title of a page in FE by the RECORDS object in TypoScript - example:</p>
<p>temp.pageTitle = RECORDS<br />temp.pageTitle {<br /> source = pages_123<br /> tables = pages<br /> conf.pages < lib.whatever<br />}</p>
<p>In tslib_cObj there's a call to $GLOBALS['TSFE']->sys_page->getRecordOverlay() which won't work for pages, since pages have an own table for localization stuff - thus getPageOverlay() would be correct for the table 'pages' in the RECORDS and CONTENT TS-object...</p>
Further reasons:
<ul>
<li>pages don't have [ctrl][languageField]</li>
<li>missing the check and handling for [ctrl][transForeignTable]</li>
</ul>
<p>(issue imported from #M9275)</p> TYPO3 Core - Bug #18646 (Closed): Combination view not possible with symmetric relationshttp://forge.typo3.org/issues/186462008-04-19T19:45:48ZOliver Haderoliver.hader@typo3.org
<p>The combinations view, which allows one to edit a record directly which is again only related by an intermediate table, does not work.<br />Furthermore it a option for configuring a selector for the symmetric side is missing ("symmetric_selector") and endless recursions have to be checked in this context then.</p>
<p>(issue imported from #M8165)</p> TYPO3 Core - Feature #17638 (Closed): Integrate possibility to show content elements depending on...http://forge.typo3.org/issues/176382007-09-29T15:29:16ZOliver Haderoliver.hader@typo3.org
<p>Perhaps we should start with an example before an abstract:<br />Imagine, that you're running a TYPO3 site with several domains (mysite.com, shop.mysite.com, partner.mysite.com) that are all using the same page tree. Now, a content element shall only be visible if the website user hits your site using a special domain (e.g. partner.mysite.com). That content element show some additional information and isn't visible on the other pages.</p>
<p>What you can do currently, is to use some TypoScript conditions or a redirect using the domain record of TYPO3. But there isn't yet a possibility to assign such conditions to single content elements.</p>
<p>Assigning a domain was just an example, this could be anything, e.g. GET-parameter, systemtime, server-environment-variable. I tend to call this a "rule" or "front-end rules" (fe_rules).</p>
<p>(issue imported from #M6419)</p> TYPO3 Core - Feature #17615 (Closed): Integrate possibility to override TCA columns depending on ...http://forge.typo3.org/issues/176152007-09-18T18:14:02ZOliver Haderoliver.hader@typo3.org
<p>Currently it's possible to override field properties of existing TCA columns by using Page TSconfig. Settings, depending on the type of a record, can be overridden if that property was allowed to be overridden.</p>
<p>This issue is concerning the possibility to do basically the same, but in TCA (not in Page TSconfig) and also for properties that were not allowed to be overridden.</p>
<p>The following example re-uses the image field of tt_content and defines that only one image could be added:<br />$TCA['tt_content']['types'][$_EXTKEY.'_pi1']['overrideColumns'] = array(<br /> 'image' => array('config' => array('maxitems' => 1)),<br />);</p>
<p>(issue imported from #M6365)</p> TYPO3 Core - Feature #17434 (Closed): Allow more than one parent field pointing to the same child...http://forge.typo3.org/issues/174342007-07-04T14:23:46ZOliver Haderoliver.hader@typo3.org
<p>The following field configuration of a parent record in TCE is currently not possible:</p>
<p>'columns' => array(<br /> 'firstchildren' => array(<br /> 'config' => array(<br /> 'type' => 'inline',<br /> 'foreign_table' => 'tx_myext_child',<br /> 'foreign_field' => 'parent',<br /> ),<br /> ),<br /> 'secondchildren' => array(<br /> 'config' => array(<br /> 'type' => 'inline',<br /> 'foreign_table' => 'tx_myext_child',<br /> 'foreign_field' => 'parent',<br /> ),<br /> ),<br />),</p>
<p>The reason is, that with foreign_field the children are selected by the table and the uid in the field 'parent'. Thus, the children are not identified to with <em>field</em> in the parent record they belong.</p>
<p>The feature request is to have a new TCA property likle 'foreign_fieldfield' that defines a field on the child side storing the fieldname of the parent record creating the child.</p>
<p>The attached extension "test_required" reproduces this behaviour.</p>
<p>(issue imported from #M5897)</p> TYPO3 Core - Bug #17002 (Closed): cHash is not recreated on disposal in config.linkVarshttp://forge.typo3.org/issues/170022007-02-17T11:16:11ZOliver Haderoliver.hader@typo3.org
<p>Imagine you'd like to forward one or more extension variables through the system. The common way to do this is to use config.linkVars. For caching purposes the cHash should be set.</p>
<p>Example:<br />config.linkVars = type,L,tx_myext_pi1,tx_myext_pi2,cHash</p>
<p>Unfortunatelly the cHash will be taken as it is from the current page being displayed. A wrong cHash results into an error message being reported ("wrong cHash").</p>
<p>The solution is to recreate/recalculate the cHash if it should be used in config.linkVars.</p>
<p>(issue imported from #M5010)</p> TYPO3 Core - Bug #17001 (Closed): config.linkVars check doesn't allow negative rangeshttp://forge.typo3.org/issues/170012007-02-17T11:05:42ZOliver Haderoliver.hader@typo3.org
<p>The newly introduced linkVars check in TYPO3 4.1 doesn't allow negative ranges.</p>
<p>Example:<br />config.linkVars = my_variable(1-5) is valid<br />config.linkVars = my_variable(-1-5) doesn't work<br />config.linkVars = my_variable(-1--3) doesn't work and looks very ugly</p>
<p>I suggest to use ".." as delimiter, e.g.<br />config.linVars = my_variable(-1..-3)</p>
<p>Possibly it is allowed in TYPO3 4.2 to use config.linkVars = tx_myext_pi1[var](<del>1..-3), but we should change the delimiter from "</del>" to ".." now.<br />(issue imported from #M5009)</p> TYPO3 Core - Bug #16741 (Rejected): typoLink doesn't use "type" correctly with simulateStaticDocu...http://forge.typo3.org/issues/167412006-11-27T10:35:06ZOliver Haderoliver.hader@typo3.org
<p>Imagine a TypoScript configuration like the following and simulateStaticDocuments enabled:</p>
<p>page.10 = TEXT<br />page.10 {<br /> stdWrap = 1<br /> stdWrap.typolink {<br /> returnLast = url<br /> useCacheHash = 1<br /> parameter.data = tsfe:id<br /> additionalParams = &type=5<br /> }<br />}</p>
<p>You would get something like this as link-URL:</p>
<p>SomePage.13+M5bd9214a8c2.0.html?&type=5</p>
<p>If a user clicks that link, he isn't forward to typeNum "5" as defined, but to the regular typeNum "0". So we would expect to have a link like the following one:</p>
<p>SomePage.13.5.html</p>
<p>The MD5-Part is missing here because it was used for the "&type=5" param only.</p>
<p>The attached patch file is exactly doing this by adding an additional check to tslib_cObj::typoLink.</p>
<p>It's not only a 4.1-beta1a issue. This exists since a long time... ;-)<br />(issue imported from #M4564)</p> TYPO3 Core - Bug #16392 (Closed): Page-TSconfig ###PAGE_TSCONFIG_STR### not evaluated correctly i...http://forge.typo3.org/issues/163922006-07-21T14:47:43ZOliver Haderoliver.hader@typo3.org
<p>A plugin on Web>Page, that is normally stored in tt_content, is configurable by a flexform. That flexform has a paragraph, using a select-type to get data from a foreign table.</p>
<p>The flexform-configuration on that is a bit special:<br /><config><br /> <type>select</type><br /> <foreign_table>tx_ohhotels_hotel</foreign_table><br /> <foreign_table_where><br /> AND pages.pid = ###PAGE_TSCONFIG_ID###<br /> AND ('###PAGE_TSCONFIG_STR###' = '-' OR tx_ohhotels_hotel.exthotel REGEXP '(^|,)###PAGE_TSCONFIG_STR###(,|$)')<br /> ORDER BY tx_ohhotels_hotel.title<br /> </foreign_table_where><br /> <size>15</size><br /> <minitems>0</minitems><br /> <maxitems>500</maxitems><br /></config></p>
<p>And on Page-TSconfig we have:<br />TCEFORM.tt_content.pi_flexform.PAGE_TSCONFIG_ID = 474<br />TCEFORM.tt_content.pi_flexform.PAGE_TSCONFIG_STR = 1</p>
<p>If you have a look to the image attached, you can see, that the "Items" on the right side are shown correctly. But if chose some of the available items, save and reload the page, this selected items should be visible under "Selected:" - but here they are not!</p>
<p>To get more in detail, here are the performed SQL-queries (depending on the flexform-structure above):</p>
<p>1) This is a WRONG query, trying to get the selected-fields:<br />SELECT tx_ohhotels_hotel.uid,tx_ohhotels_hotel.title,tx_ohhotels_hotel.hidden<br />FROM tx_ohhotels_hotel,pages<br />WHERE pages.uid=tx_ohhotels_hotel.pid<br />AND pages.deleted=0 AND tx_ohhotels_hotel.deleted=0 AND 1=1<br />AND pages.pid = 0<br />AND ('' = '-' OR tx_ohhotels_hotel.exthotel REGEXP '(^|,)(,|$)')<br />ORDER BY tx_ohhotels_hotel.title</p>
<p>If you compare this query to the flexform-configuration, you can see, that the ###PAGE_TSCONFIG_STR### and ###PAGE_TSCONFIG_ID### are not correctly replaced by the configured values in Page-TSconfig.</p>
<p>2) And this is the correct query, used to get the items on the right side:<br />SELECT tx_ohhotels_hotel.uid,tx_ohhotels_hotel.title,tx_ohhotels_hotel.hidden<br />FROM tx_ohhotels_hotel,pages<br />WHERE pages.uid=tx_ohhotels_hotel.pid<br />AND pages.deleted=0 AND tx_ohhotels_hotel.deleted=0 AND 1=1<br />AND pages.pid = 474<br />AND ('1' = '-' OR tx_ohhotels_hotel.exthotel REGEXP '(^|,)1(,|$)')<br />ORDER BY tx_ohhotels_hotel.title</p>
<p>I think the queries for rendering the "Items:" and the "Selected:" part (as shown in the image) are composed differently. For "Selected:" the marker substituion is missing.</p>
<p>(issue imported from #M3906)</p>