TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-11-16T16:05:40ZTYPO3 Forge
Redmine TYPO3 Core - Bug #92856 (New): "Admin Panel" naming confusinghttp://forge.typo3.org/issues/928562020-11-16T16:05:40ZTymoteusz Motylewskit.motylewski@gmail.com
<p>New TYPO3 users are confusing "Admin Panel" with TYPO3 Backend, as in many other systems (WP, Drupal, Magento,...) the "Admin Panel" (or Administration Panel) means the place we call "Backend".<br />More appropriate name would be "developer toolbar" or "debug bar" or sth similar.</p>
<p>Btw, the term "Backend" is also confusing, especialy with IT/devops, where it's used in the meaning of "upstream server".</p> TYPO3 Core - Bug #91017 (Closed): 9.5 changelog show deprecated TS conditions configuration as an...http://forge.typo3.org/issues/910172020-04-14T07:41:21ZTymoteusz Motylewskit.motylewski@gmail.comTYPO3 Core - Bug #90448 (Closed): Admin panel rendering "Tree display" doesn't show icons and gui...http://forge.typo3.org/issues/904482020-02-20T10:33:12ZTymoteusz Motylewskit.motylewski@gmail.com
<p>When debugging rendering times in the admin panel, and the "Tree display" setting is enabled, the view should show icons and guidelines showing which line is a children of which parent.</p>
<p>Seems that some icon related markup is in html, but its not styled properly.</p>
<p><img src="https://forge.typo3.org/attachments/download/34877/Screenshot%20from%202020-02-20%2010-32-14.png" alt="" /></p> TYPO3 Core - Bug #89874 (New): Can't updata database structure on MariaDB 10.0 and TYPO3 9.5 (can...http://forge.typo3.org/issues/898742019-12-06T10:51:20ZTymoteusz Motylewskit.motylewski@gmail.com
<p>I just have an issue when upgrading TYPO3 from 8.7 to 9.5.11 on Mariadb v10.0. It fails on trying to rename db index on sys_file_metadata table:<br /><pre>
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INDEX pid TO `parent`' at line 1
</pre></p>
<p>The sql query is<br /><pre>
ALTER TABLE sys_file_metadata RENAME INDEX pid TO `parent`
</pre></p>
<p>It seems that mariadb 10 doesn't support index rename<br /><a class="external" href="https://stackoverflow.com/questions/19797105/does-mariadb-support-renaming-an-index">https://stackoverflow.com/questions/19797105/does-mariadb-support-renaming-an-index</a> (edited) <br />So basically we either have to fix the logic of index rename or bump db server requirements.<br />Or maybe its' possible to figure out some detection of the mysql/mariadb type?</p>
<p><a class="external" href="https://github.com/doctrine/migrations/issues/196">https://github.com/doctrine/migrations/issues/196</a></p>
<p>This issue might be related to <br /><a class="external" href="https://review.typo3.org/c/Packages/TYPO3.CMS/+/62063">https://review.typo3.org/c/Packages/TYPO3.CMS/+/62063</a></p> TYPO3 Core - Bug #86625 (Closed): "No pseudo-site found in root line of page" when executing upgr...http://forge.typo3.org/issues/866252018-10-11T09:37:43ZTymoteusz Motylewskit.motylewski@gmail.com
<p>When executing upgrade wizard in the install tool, I'm getting<br />"No pseudo-site found in root line of page 161737" error.</p>
<p>Where page "161737" is a translation of some page (sys_language_uid =1)</p>
<p>Is that correct that the wizzard is trying to find site per translated page id ?<br />I've dig into the code and what is happening is that<br />PopulatePageSlugs.php->populateSlugs calls<br />$slugHelper->isUniqueInSite method</p>
<p>then in line ~269 of the SlugHelper there is a foreach loop with <pre> matchByPageId((int)$record['uid']); </pre><br />and this is a translated uid<br />Then matchByPageId calls pseudoSiteFinder->getSiteByPageId($pageId, $rootLine); (edited)<br />and get SiteByPageID throws an exception, as there is no site configuration for translated page.</p>
<p>Seems we're missing some check for translated page?</p>
<p>What is also worth noticing is that \TYPO3\CMS\Core\DataHandling\SlugHelper::resolveParentPageRecord is NOT called.</p> TYPO3 Core - Bug #86617 (Closed): Trying to get property 'workspace' of non-object when running ...http://forge.typo3.org/issues/866172018-10-10T12:47:27ZTymoteusz Motylewskit.motylewski@gmail.com
<p>Plenty of notices are thrown when running slug upgrade wizard.</p>
<p>PHP Notice: Trying to get property 'workspace' of non-object in /var/www/html/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 4037<br />PHP Notice: Trying to get property 'workspace' of non-object in /var/www/html/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 4290<br />PHP Notice: Trying to get property 'workspace' of non-object in /var/www/html/typo3/sysext/backend/Classes/Utility/BackendUtility.php on line 4037</p>
<p>Example stack trace:<br /><pre>
BackendUtility.php:4290, TYPO3\CMS\Backend\Utility\BackendUtility::getMovePlaceholder()
BackendUtility.php:494, TYPO3\CMS\Backend\Utility\BackendUtility::getPageForRootline()
BackendUtility.php:387, TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine()
SlugHelper.php:545, TYPO3\CMS\Core\DataHandling\SlugHelper->resolveParentPageRecord()
SlugHelper.php:169, TYPO3\CMS\Core\DataHandling\SlugHelper->generate()
PopulatePageSlugs.php:167, TYPO3\CMS\Install\Updates\PopulatePageSlugs->populateSlugs()
PopulatePageSlugs.php:99, TYPO3\CMS\Install\Updates\PopulatePageSlugs->executeUpdate()
UpgradeWizardsService.php:397, TYPO3\CMS\Install\Service\UpgradeWizardsService->executeWizard()
UpgradeController.php:967, TYPO3\CMS\Install\Controller\UpgradeController->upgradeWizardsExecuteAction()
RequestHandler.php:205, TYPO3\CMS\Install\Http\RequestHandler->handle()
Application.php:65, TYPO3\CMS\Install\Http\Application->handle()
AbstractApplication.php:110, TYPO3\CMS\Install\Http\Application->run()
install.php:104, {closure:/var/www/html/typo3/install.php:101-105}()
install.php:105, {main}()
</pre></p> TYPO3 Core - Bug #85999 (Closed): Blog example blog fe_user subtype should use namespaceshttp://forge.typo3.org/issues/859992018-08-27T21:21:12ZTymoteusz Motylewskit.motylewski@gmail.com
<p>In all places it is already changed to: ExtbaseTeam\BlogExample\Domain\Model\Administrator<br />but still in TCA overrides it's Tx_BlogExample_Domain_Model_Administrator</p>
<p>Because of this bug, it's not possible to select any record in Blog->Administrator select box in BE.</p> TYPO3 Core - Bug #84842 (Closed): can't access backend when "documentation" extension is not inst...http://forge.typo3.org/issues/848422018-04-23T18:06:44ZTymoteusz Motylewskit.motylewski@gmail.com
<p>using TYPO3 9.2 installed with composer.<br />when extension "documentation" is not installed or activated and error is shown when accessing backend.</p>
<p>Oops, an error occurred!<br />Unable to generate a URL for the named route "help_cshmanual" be</p>
<p>cause this route was not found.<br />More information regarding this error might be available online."</p> TYPO3 Core - Bug #82048 (Closed): Can't login with 32 characters passwordhttp://forge.typo3.org/issues/820482017-08-04T16:46:46ZTymoteusz Motylewskit.motylewski@gmail.com
<p>Passwords which looks like md5 hash are not working.</p>
<p>1. set md5 like password to fe/be user. eg. 098f6bcd4621d373cade4e832627b4f6 (it has to be 32 chars long, with small letters and digits)<br />2. try to log in<br />3. TYPO3 will always return error, login is not possible</p>
<p>Background:<br />the hash created by TYPO3 (the one stored in the db in column password) will begin with "M$", but it should with "$".<br />Removing the M from the beginning of the hash makes it possible to log in.</p>
<p>The problem is in the typo3/sysext/saltedpasswords/Classes/Evaluation/Evaluator.php<br />method evaluateFieldValue<br /><pre>
$isEnabled = $this->mode ? \TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled($this->mode) : \TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled();
if ($isEnabled) {
$isMD5 = preg_match('/[0-9abcdef]{32,32}/', $value);
$hashingMethod = substr($value, 0, 2);
$isDeprecatedSaltedHash = ($hashingMethod === 'C$' || $hashingMethod === 'M$');
/** @var $objInstanceSaltedPW \TYPO3\CMS\Saltedpasswords\Salt\SaltInterface */
$objInstanceSaltedPW = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance(null, $this->mode);
if ($isMD5) {
$set = true;
$value = 'M' . $objInstanceSaltedPW->getHashedPassword($value);
</pre></p>
<p>I think evaluateFieldValue should know whether the value comes from db and can be a md5 hash, or comes from direct plain input from user.</p> TYPO3 Core - Bug #81822 (Closed): Allow to clone QueryBuilderhttp://forge.typo3.org/issues/818222017-07-08T17:34:35ZTymoteusz Motylewskit.motylewski@gmail.com
<p>The Doctrine query builder supports cloning, so should our Query Builder, which is just a wrapper around it.</p>
<pre>
$newQueryBuilder = clone $queryBuilder;
</pre>
<p>Cloning of the query builder is useful when e.g. implementing pagination where process looks usually like:</p>
<p>- User provides query builder without limit and page<br />- pagination takes the query builder, clones it, changes the select part to "count(*)" to get the count of the results<br />- pagination takes the original query builder adds a limit and offset, and executes the query</p> TYPO3 Core - Bug #62001 (Closed): [Regression] Can not add image to FAL field in Flexformhttp://forge.typo3.org/issues/620012014-10-02T10:08:29ZTymoteusz Motylewskit.motylewski@gmail.com
<p>commit cb6b7f519b54cec0d09f46966e5a8461f13e45e5 <br />[TASK] Replace Prototype in inline record JS<br />Introduced a regression that FAL fields are not working in flexform any more.</p>
<p>How to reproduce:<br />1. download and install extension:<br /><a class="external" href="https://forge.typo3.org/attachments/download/26263/mediacenter.zip">https://forge.typo3.org/attachments/download/26263/mediacenter.zip</a><br />2. put the "mediacenter" plugin on the page<br />3. try to attach some images to the FAL field.</p>
<p>Result:<br />Images will not show up under the "add file" button.</p> TYPO3 Core - Bug #56882 (Closed): Can not translate IRRE elementshttp://forge.typo3.org/issues/568822014-03-13T18:30:01ZTymoteusz Motylewskit.motylewski@gmail.com
<p>Translation of irre elements is buggy.<br />Scenario 1<br />IRRE tutorial is installed<br />- create new CE,<br />- go to "IRRE" tab<br />- create new irre element<br />- save</p>
<p>localize this element to other language<br />=> CE is localized, but irre elements are not</p>
<p>Scenario2<br />Create plugin with FAL field in flexform<br />- create CE of this plugin<br />- add images to the FAL field<br />- save<br />- translate this element<br />=> images are localized, but an additional row i shown on the list of images<br />When testing scenario 2 with flv files instead of images, no records were correctly localized</p> TYPO3 Core - Bug #40146 (Closed): [rsaauth] Call to undefined method CommandUtility::getCommand()http://forge.typo3.org/issues/401462012-08-24T22:24:16ZTymoteusz Motylewskit.motylewski@gmail.com
<p>While trying to log in into backend I'm getting:</p>
<p>Fatal error: Call to undefined method TYPO3\CMS\Core\Utility\CommandUtility::getCommand() in C:\xampp\htdocs\community46\typo3\sysext\rsaauth\Classes\Backend\CommandLineBackend.php on line 60</p>
<p>this line right now is:<br />$this->opensslPath = \TYPO3\CMS\Core\Utility\CommandUtility::getCommand('openssl');</p>
<p>before was:<br />$this->opensslPath = t3lib_exec::getCommand('openssl');</p>
<p>Class t3lib_exec is now mapped to \TYPO3\CMS\Core\Extension\ExtensionManager::extPath('core') . 'Classes/Utility/CommandUtility.php';</p>
<p>but the content of CommandUtility is completely different then the original t3lib_exec class</p> TYPO3 Core - Bug #36894 (Closed): [felogin] Wrong action url when nested array is passedhttp://forge.typo3.org/issues/368942012-05-06T20:36:05ZTymoteusz Motylewskit.motylewski@gmail.com
<p>If you have login form on page with url like this:<br />index.php?id=10&L=3&tx_someext[@widget_0][currentPage]=3</p>
<p>Action url of login form will point to:<br />index.php?id=10&L=3&tx_someext[@widget_0]=Array</p>
<p>The problem is in method tx_felogin_pi1->getPreserveGetVars() (called from getPageLink() ).<br />This method assumes that no nested arrays are passed as parameter.<br /><pre>
$params .= '&' . $key . '[' . $key1 . ']=' . $val1;
</pre></p> TYPO3 Core - Bug #21339 (Closed): "Generate random key" button doesn't workhttp://forge.typo3.org/issues/213392009-10-22T13:52:15ZTymoteusz Motylewskit.motylewski@gmail.com
<p>In Typo3 4.2.9 installation tool -> "Basic Configuration" there is a button "Generate random key" used to generate encryption key. There is no action after clicking this button. I tested it in both Firefox 3.5 and Google Chrome 3.0</p>
<p>(issue imported from #M12313)</p>