http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692020-12-10T11:28:16ZTYPO3 ForgeTYPO3 Core - Bug #91654: Missing request.getNormalizedParams() in CLI contexthttp://forge.typo3.org/issues/91654?journal_id=4363372020-12-10T11:28:16ZMoritz Ahlinfo@constructiva.de
<ul></ul><p>Is grouping blocks of TS conditions by brackets a valid syntax? Example:</p>
<pre>
[request.getNormalizedParams() && (request.getNormalizedParams().getHttpHost() == "sub1.domain.de" || request.getNormalizedParams().getHttpHost() == "sub2.domain.de" || request.getNormalizedParams().getHttpHost() == "sub2.domain.ddev.site")]
</pre>
<p>Intention: By first testing for request.getNormalizedParams() the following conditions are not evaluated anymore if the first one already returns null.</p> TYPO3 Core - Bug #91654: Missing request.getNormalizedParams() in CLI contexthttp://forge.typo3.org/issues/91654?journal_id=4548342021-10-07T14:33:08ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>maybe you want to check out <a class="external" href="https://github.com/b13/host_variants">https://github.com/b13/host_variants</a></p> TYPO3 Core - Bug #91654: Missing request.getNormalizedParams() in CLI contexthttp://forge.typo3.org/issues/91654?journal_id=4645592022-02-19T16:05:42ZChristian Kuhnlolli@schwarzbu.ch
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>hey. it seems the documentation has been adapted meanwhile: it now (correctly) states that request is only available in FE+BE, but not CLI. cli task that for instance crawl the frontend, thus need to create a proper requests on their own.</p>
<p>i think the issue is pretty much resolved, also together with the remark from benni, so i hope it's ok to close for the time being. please ping us in case you disagree or open a fresh issue.</p>