TYPO3 Forge: Issueshttp://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692017-12-15T11:23:38ZTYPO3 Forge
Redmine TYPO3 Core - Bug #83339 (Rejected): Method TYPO3\CMS\Core\Preparations\TcaPreparation::prepareQuo...http://forge.typo3.org/issues/833392017-12-15T11:23:38ZManuel Selbachmanuel_selbach@yahoo.de
<p>If you try to set a variable via TYPO3 console like `vendor/bin/typo3cms configuration:set DB/Connections/Default/driver`<br />the new method TYPO3\CMS\Core\Preparations\TcaPreparation::prepareQuotingOfTableNamesAndColumnNames will be triggered which leads to have a database connection established already to quote the identifier correctly.</p>
<p>As we try to set the database parameter at this point, this fail with an exception:</p>
<pre><code class="bash syntaxhl" data-language="bash"><span class="o">[</span> TypeError <span class="o">]</span>
strpos<span class="o">()</span> expects parameter 1 to be string, null given
thrown <span class="k">in </span>file typo3/sysext/core/Classes/Database/ConnectionPool.php
<span class="k">in </span>line 152
Exception trace:
<span class="c">#0 strpos()</span>
typo3/sysext/core/Classes/Database/ConnectionPool.php:152
<span class="c">#1 TYPO3\CMS\Core\Database\ConnectionPool::getDatabaseConnection()</span>
typo3/sysext/core/Classes/Database/ConnectionPool.php:132
<span class="c">#2 TYPO3\CMS\Core\Database\ConnectionPool::getConnectionByName()</span>
typo3/sysext/core/Classes/Database/ConnectionPool.php:83
<span class="c">#3 TYPO3\CMS\Core\Database\ConnectionPool::getConnectionForTable()</span>
typo3/sysext/core/Classes/Preparations/TcaPreparation.php:79
<span class="c">#4 TYPO3\CMS\Core\Preparations\TcaPreparation::prepareQuotingOfTableNamesAndColumnNames()</span>
typo3/sysext/core/Classes/Preparations/TcaPreparation.php:45
<span class="c">#5 TYPO3\CMS\Core\Preparations\TcaPreparation::prepare()</span>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1789
<span class="c">#6 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::buildBaseTcaFromSingleFiles()</span>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php:1709
<span class="c">#7 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadBaseTca()</span>
vendor/helhum/typo3-console/Classes/Core/ConsoleBootstrap.php:386
<span class="c">#8 Helhum\Typo3Console\Core\ConsoleBootstrap::loadTcaOnly()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Scripts.php:155
<span class="c">#9 Helhum\Typo3Console\Core\Booting\Scripts::initializeExtensionConfiguration()</span>
<span class="c">#10 call_user_func()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Step.php:53
<span class="c">#11 Helhum\Typo3Console\Core\Booting\Step::__invoke()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Sequence.php:108
<span class="c">#12 Helhum\Typo3Console\Core\Booting\Sequence::invokeStep()</span>
vendor/helhum/typo3-console/Classes/Core/Booting/Sequence.php:92
<span class="c">#13 Helhum\Typo3Console\Core\Booting\Sequence::invoke()</span>
vendor/helhum/typo3-console/Classes/Mvc/Cli/RequestHandler.php:92
<span class="c">#14 Helhum\Typo3Console\Mvc\Cli\RequestHandler::boot()</span>
vendor/helhum/typo3-console/Classes/Mvc/Cli/RequestHandler.php:77
<span class="c">#15 Helhum\Typo3Console\Mvc\Cli\RequestHandler::handleRequest()</span>
vendor/helhum/typo3-console/Classes/Core/ConsoleBootstrap.php:111
<span class="c">#16 Helhum\Typo3Console\Core\ConsoleBootstrap::run()</span>
vendor/helhum/typo3-console/Scripts/typo3cms.php:65
<span class="c">#17 {closure}()</span>
vendor/helhum/typo3-console/Scripts/typo3cms.php:66
<span class="c">#18 require()</span>
vendor/helhum/typo3-console/Scripts/typo3cms:4
</code></pre> TYPO3 Core - Bug #81374 (Rejected): Default charset utf8 for database driver will fail on Microso...http://forge.typo3.org/issues/813742017-05-29T21:33:00ZManuel Selbachmanuel_selbach@yahoo.de
<p>The default charset for the database driver <code>utf8</code> will fail for Microsoft SQL Server.</p>
<p>To avoid that the default charset should be set to <code>utf-8</code>.</p> TYPO3 Core - Task #79382 (Closed): Cleanup ActionService::getVersionedIdhttp://forge.typo3.org/issues/793822017-01-18T22:44:15ZManuel Selbachmanuel_selbach@yahoo.de
<p>Within the refactoring process the optional parameter $useDeleteClause was missed<br />to remove from the parameter list of the method, as it is not implemented in the body and<br />not used anywhere in the core.</p> TYPO3 Core - Task #79378 (Closed): Unused code in LocalizationController::process foundhttp://forge.typo3.org/issues/793782017-01-18T21:30:28ZManuel Selbachmanuel_selbach@yahoo.de
<p>Within the method TYPO3\CMS\Backend\Controller\Page\LocalizationController::process unused code was found.<br />Additionally the for loop should be refactored as it counts the array every loop.</p> TYPO3 Core - Bug #79131 (Closed): Wrong type in PageRepository::getDomainStartPage for column fe_...http://forge.typo3.org/issues/791312017-01-02T15:10:32ZManuel Selbachmanuel_selbach@yahoo.de
<p>Use of incorrect type for column fe_group in the method PageRepository::getDomainStartPage.<br />If a DBMS with strict usage of types is used (e.g. Postgres), the method will throw an exception, as the 0 is of type integer and not of type string as the column is defined in the database and thus a comparison will fail.</p> TYPO3 Core - Task #78930 (Closed): Integrate driver into functional testshttp://forge.typo3.org/issues/789302016-12-09T10:44:48ZManuel Selbachmanuel_selbach@yahoo.de
<p>According to doctrine migration functional tests should be processed against different dbms.<br />Thus, we have to integrate the driver to the bootstrap.</p> TYPO3 Core - Bug #78925 (Closed): PageLayoutController::renderQuickEdit() will throw exception fo...http://forge.typo3.org/issues/789252016-12-08T23:05:57ZManuel Selbachmanuel_selbach@yahoo.de
<p>If there is an empty page (no content elements on it) the method PageLayoutController::renderQuickEdit() will throw an exception on certain DBMS (depends on it's configuration), as the parameter $this->eRParts<sup><a href="#fn1">1</a></sup> will hold e.g. /new/1 which will be use in the Query as integer to get a sys_history record. As it is a "new" element there couldn't be a history entry at all, so let's skip that Query if the parameter $this->eRParts<sup><a href="#fn1">1</a></sup> can not be interpreted as integer.</p> TYPO3 Core - Task #78704 (Closed): BackendUtility: Refactor use of queryBuilder to use prepared s...http://forge.typo3.org/issues/787042016-11-15T15:09:08ZManuel Selbachmanuel_selbach@yahoo.de
<p>According to task <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Task: Refactor use of queryBuilder to use prepared statements (Closed)" href="http://forge.typo3.org/issues/78437">#78437</a> queries should follow the prepared statement principle.<br />Thus method BackendUtiltiy::getRecordsByField() has to be refactored.</p> TYPO3 Core - Task #78578 (Closed): LiveSearch: Refactor use of queryBuilder to use prepared state...http://forge.typo3.org/issues/785782016-11-05T14:37:30ZManuel Selbachmanuel_selbach@yahoo.de
<p>According to task <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Task: Refactor use of queryBuilder to use prepared statements (Closed)" href="http://forge.typo3.org/issues/78437">#78437</a> queries should follow the prepared statement principle.<br />Thus the LiveSearch has to be refactored.</p> TYPO3 Core - Bug #69702 (Rejected): FAL does not work in section of FlexFormshttp://forge.typo3.org/issues/697022015-09-11T17:32:36ZManuel Selbachmanuel_selbach@yahoo.de
<p>If I create a new element on the page, then I get the error message: <br />"Wrong configuration in table xxxxxxx"</p>
<p>The foreign_match_fields fieldname is changed to the field name of element.</p>
<p>When I save and edit the element, I can change the file.</p>
<p>If I add a new element the same issues appear.<br />When I save and edit it again it´s possible to choose a new file.</p>
<p>After saving the element the last selected file is in every element.</p>
<p>So I think there is no relation to each "dynamic" element in the section.</p>
<p>Example flex form:</p>
<pre>
<dynamic_col type="array">
<section>1</section>
<title>Column</title>
<type>array</type>
<el type="array">
<container type="array">
<type>array</type>
<el type="array">
<image type="array">
<TCEforms type="array">
<label>image</label>
<config>
<type>inline</type>
<foreign_table>sys_file_reference</foreign_table>
<foreign_field>uid_foreign</foreign_field>
<foreign_sortby>sorting_foreign</foreign_sortby>
<foreign_table_field>tablenames</foreign_table_field>
<foreign_match_fields type="array">
<fieldname>image</fieldname>
</foreign_match_fields>
<foreign_label>uid_local</foreign_label>
<foreign_selector>uid_local</foreign_selector>
<foreign_selector_fieldTcaOverride type="array">
<config>
<appearance>
<elementBrowserType>file</elementBrowserType>
<elementBrowserAllowed>jpg,png</elementBrowserAllowed>
</appearance>
</config>
</foreign_selector_fieldTcaOverride>
<foreign_types type="array">
<numIndex index="2" type="array">
<showitem>&#x2D;-palette&#x2D;-;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,&#x2D;-palette&#x2D;-;;filePalette</showitem>
</numIndex>
</foreign_types>
<maxitems>1</maxitems>
<appearance type="array">
<headerThumbnail>
<field>uid_local</field>
<width>64</width>
<height>64</height>
</headerThumbnail>
<createNewRelationLinkTitle>Add new Image</createNewRelationLinkTitle>
<showPossibleLocalizationRecords>TRUE</showPossibleLocalizationRecords>
<showRemovedLocalizationRecords>TRUE</showRemovedLocalizationRecords>
<showSynchronizationLink>TRUE</showSynchronizationLink>
<enabledControls type="array">
<info>TRUE</info>
<delete>TRUE</delete>
<localize>TRUE</localize>
</enabledControls>
<levelLinksPosition>both</levelLinksPosition>
</appearance>
<behaviour>
<localizationMode>select</localizationMode>
<localizeChildrenAtParentLocalization>TRUE</localizeChildrenAtParentLocalization>
</behaviour>
</config>
</TCEforms>
</image>
</el>
</container>
</el>
</dynamic_col>
</pre> TYPO3 Core - Task #68858 (Closed): Add backend routes for wizardshttp://forge.typo3.org/issues/688582015-08-08T15:19:16ZManuel Selbachmanuel_selbach@yahoo.de
<p>Move all wizards to the backend routing form ext_tables.php to Configuration/Backend/Routes.php</p>
<p>RTE Wizards:<br />You need the full RTE (demo mode in Extension Configuration).<br />If you have bootstrap package installed you should comment out the following line in ext_localconf.php:<br />\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/RTE.txt">');</p>
<p>Otherwise the RTE configuration of the bootstrap package will overwrite everything ;)</p>
<p>OpenId:<br />Install the extension.<br />Within the backend user settings there is a new field "OpenID identifier".<br />The wizard is located beside the field.</p>
<p>compatibility6:<br />To test the form wizard you have to uninstall the form extension and to install the compatibility6 extension.<br />After that, create a form, save and go down to the config area.<br />The wizard is located beside the textarea</p> TYPO3 Core - Bug #68857 (Closed): Openid login not working on current masterhttp://forge.typo3.org/issues/688572015-08-08T11:18:55ZManuel Selbachmanuel_selbach@yahoo.de
<p>After login via openid the redirect is broken.</p>
<p>Redirect target:<br /><pre>
http://typo3-core.dev/typo3/index.php?login_status=login&tx_openid_location=http%3A%2F%2Ftypo3-core.dev%2Ftypo3%2Findex.php%3FloginProvider%3D1433416748&tx_openid_location_signature=e1549ce9cfa8e6be55bee307a952851ee2409557&tx_openid_mode=finish&tx_openid_claimed=https%3A%2F%2Fme.yahoo.com%2Fa%2FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN&tx_openid_signature=f6eb5cd3f85caf04c8434842e48783ec8e32bf1f&janrain_nonce=2015-08-08T08%3A56%3A35ZDHnikK&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.return_to=http%3A%2F%2Ftypo3-core.dev%2Ftypo3%2Findex.php%3Flogin_status%3Dlogin%26tx_openid_location%3Dhttp%253A%252F%252Ftypo3-core.dev%252Ftypo3%252Findex.php%253FloginProvider%253D1433416748%26tx_openid_location_signature%3De1549ce9cfa8e6be55bee307a952851ee2409557%26tx_openid_mode%3Dfinish%26tx_openid_claimed%3Dhttps%253A%252F%252Fme.yahoo.com%252Fa%252FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN%26tx_openid_signature%3Df6eb5cd3f85caf04c8434842e48783ec8e32bf1f%26janrain_nonce%3D2015-08-08T08%253A56%253A35ZDHnikK&openid.claimed_id=https%3A%2F%2Fme.yahoo.com%2Fa%2FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN%23715df&openid.identity=https%3A%2F%2Fme.yahoo.com%2Fa%2FMNzxCfkDu86cuiZg_VM_7K6BzRy1RdmvwFTN&openid.assoc_handle=uF_FEAFNu21dCt1wzt8Fq7oc3CQhf3zQkcRt9EPxtEXejHUWHEtUCrTMm_uja2Gdgy9UFuRZ8SuNAfW_O_fiAbe8cZJB2eOR9spKmMRi7ZAuUrGmTBe1fgjAiiVKSwMz.rxEJA--&openid.realm=http%3A%2F%2Ftypo3-core.dev%2F&openid.response_nonce=2015-08-08T08%3A56%3A30ZNx82ncvsLatHESKqZHq8YpTHe_7MkYz4aQ--&openid.signed=assoc_handle%2Cclaimed_id%2Cidentity%2Cmode%2Cns%2Cop_endpoint%2Cresponse_nonce%2Creturn_to%2Csigned%2Cpape.auth_level.nist&openid.op_endpoint=https%3A%2F%2Fopen.login.yahooapis.com%2Fopenid%2Fop%2Fauth&openid.pape.auth_level.nist=0&openid.sig=2MIUoHeWonfSxZ8FVeYpftVgtZs%3D
</pre></p>
<p>You stuck at the login screen without CSS etc. see screenshot attached.</p> TYPO3 Core - Task #68814 (Closed): remove of base constant TYPO3_URL_ORGhttp://forge.typo3.org/issues/688142015-08-07T09:49:42ZManuel Selbachmanuel_selbach@yahoo.de
<p>Base constant TYPO3_URL_ORG defined in SystemEnvironmentBuilder::defineBaseConstants() can be removed.<br />It´s only for internal usage only and defined at 2 places in the core.</p>
<p>Use TYPO3_URL_GENERAL instead.</p> TYPO3 Core - Task #68756 (Closed): Add config "base" to stdWraphttp://forge.typo3.org/issues/687562015-08-05T15:04:49ZManuel Selbachmanuel_selbach@yahoo.de
<p>Follow up: <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Filelist should use IEC prefixes and appropriate units for filesize. (Closed)" href="http://forge.typo3.org/issues/22175">#22175</a></p>
<p>The following function was updated and added with a new optional parameter $base:<br />TYPO3\CMS\Core\Utility\GeneralUtility::formatSize($sizeInBytes, $labels = '', $base = 0)</p>
<p>This impacts the function:<br />TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_bytes</p>
<p>It is not possible now, to set the base parameter via TypoScript if you add custom labels.</p> TYPO3 Core - Task #68157 (Closed): Extended TypeConverter PersistentObjectConverter to overload Q...http://forge.typo3.org/issues/681572015-07-15T13:04:15ZManuel Selbachmanuel_selbach@yahoo.de
<p>Hi @ all,</p>
<p>e.g. if you would like to pass a hidden object to another action, you will run in an exception.<br /><pre>
#1297759968: Exception while property mapping at property path "":Missing storage page ids
</pre></p>
<p>By default TYPO3 sets the QuerySettings to enable ignore fields, which is absolutely fine.<br />But in some special cases you would like to overload this behavior for an action in the controller.<br />Here we can use the initialize action, which is called before every action and set the QuerySettings for a certain object.</p>
<p>Attached you will find my patch to allow this.</p>
<p>Example after supplying the patch for a controller show action:<br /><pre>
public function initializeShowAction()
{
$modelConfiguration = $this->arguments->getArgument('object')->getPropertyMappingConfiguration();
$modelConfiguration->setTypeConverterOptions(
'TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter',
array(
\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::IGNORE_ENABLE_FIELDS => true,
\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::RESPECT_STORAGE_PAGE => false,
\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::RESPECT_SYS_LANGUAGE => false,
)
);
}
/**
* show action
*
* @param \MyVendor\MyExtension\Domain\Model\Model $user
*/
public function showAction(\MyVendor\MyExtension\Domain\Model\Model $model)
{
$this->view->assign('model', $model);
}
</pre></p>
<p>Following options will be available with example data:</p>
<pre>
IGNORE_ENABLE_FIELDS = true|false
RESPECT_STORAGE_PAGE = true|false
RESPECT_SYS_LANGUAGE = true|false
ENABLE_FIELDS_TO_BE_IGNORED = hidden,starttime
INCLUDE_DELETED = true|false
SYS_LANGUAGE_UID = 2
STORAGE_PAGE_IDS = 1,2
</pre>