<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>typo3 &amp;mdash; tobenschmidt</title>
    <link>https://tobenschmidt.writeas.com/tag:typo3</link>
    <description>Waiting (around to die|for the miracle to come)</description>
    <pubDate>Wed, 06 May 2026 00:29:46 +0000</pubDate>
    <image>
      <url>https://i.snap.as/2MK4IQOb.png</url>
      <title>typo3 &amp;mdash; tobenschmidt</title>
      <link>https://tobenschmidt.writeas.com/tag:typo3</link>
    </image>
    <item>
      <title>Weil heute Montag ist, hat der automatische Versand die Pressemeldung eines...</title>
      <link>https://tobenschmidt.writeas.com/weil-heute-montag-ist-hat-der-automatische-versand-die-pressemeldung-eines?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[Weil heute Montag ist, hat der automatische Versand die Pressemeldung eines Kunden, die gar nicht versendet werden sollte, gleich zweimal rausgeschickt. &#xA;&#xA;(Jetzt weiß ich immerhin, dass sich im QueryBuilder where() und add(&#39;where&#39;, ...) nicht miteinander vertragen. Stattdessen können andWhere() und add(&#39;where&#39;, ...) miteinander kombiniert werden.)&#xA;&#xA;Aber trotzdem schön, dass das letzte große TYPO3-Update für dieses Jahr nun hinter mir liegt.&#xA;&#xA;#webdev #TYPO3&#xA;&#xA;div class=&#34;post-signature&#34;smalla href=&#34;https://werdings.writeas.com/werdings-tiere&#34;Werdings Tiere/a &amp;middot; a href=&#34;https://write.as/&#34;write.as/a/small/div]]&gt;</description>
      <content:encoded><![CDATA[<p>Weil heute Montag ist, hat der automatische Versand die Pressemeldung eines Kunden, die gar nicht versendet werden sollte, gleich zweimal rausgeschickt.</p>

<p>(Jetzt weiß ich immerhin, dass sich im <a href="https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/Database/QueryBuilder/Index.html">QueryBuilder</a> <code>where()</code> und <code>add(&#39;where&#39;, ...)</code> nicht miteinander vertragen. Stattdessen können <code>andWhere()</code> und <code>add(&#39;where&#39;, ...)</code> miteinander kombiniert werden.)</p>

<p>Aber trotzdem schön, dass das letzte große TYPO3-Update für dieses Jahr nun hinter mir liegt.</p>

<p><a href="https://tobenschmidt.writeas.com/tag:webdev" class="hashtag"><span>#</span><span class="p-category">webdev</span></a> <a href="https://tobenschmidt.writeas.com/tag:TYPO3" class="hashtag"><span>#</span><span class="p-category">TYPO3</span></a></p>

<div class="post-signature"><small><a href="https://werdings.writeas.com/werdings-tiere">Werdings Tiere</a> · <a href="https://write.as/">write.as</a></small></div>
]]></content:encoded>
      <guid>https://tobenschmidt.writeas.com/weil-heute-montag-ist-hat-der-automatische-versand-die-pressemeldung-eines</guid>
      <pubDate>Mon, 30 Aug 2021 16:15:31 +0000</pubDate>
    </item>
    <item>
      <title>You are not on your own</title>
      <link>https://tobenschmidt.writeas.com/you-are-not-on-your-own?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[On the one hand:&#xA;&#xA;  In a frontend context [...] there is no specific API to create a File Reference. You are on your own.&#xA;&#xA;smallWorking With Files, Folders and File References – Creating a File Reference – In the Frontend Context/small&#xA;&#xA;On the other hand:&#xA;&#xA;use TYPO3\CMS\Core\Resource\FileReference as FileReferenceCore;&#xA;use TYPO3\CMS\Core\Resource\ResourceFactory;&#xA;use TYPO3\CMS\Core\Utility\GeneralUtility;&#xA;use TYPO3\CMS\Extbase\Domain\Model\FileReference as FileReferenceExtbase;&#xA;use TYPO3\CMS\Extbase\Persistence\ObjectStorage;&#xA;&#xA;/* @var ResourceFactory /&#xA;$resourceFactory = GeneralUtility::makeInstance(ResourceFactory::class);&#xA;$file = $resourceFactory-  getFileObjectFromCombinedIdentifier(&#xA;    $myCombinedIdentifier&#xA;);&#xA;&#xA;/* @var FileReferenceCore /&#xA;$fileReferenceCore = GeneralUtility::makeInstance(&#xA;    FileReferenceCore::class,&#xA;    [&#39;uid_local&#39; =  $file-  getUid()]&#xA;);&#xA;/* @var FileReferenceExtbase /&#xA;$fileReferenceExtbase = GeneralUtility::makeInstance(FileReferenceExtbase::class);&#xA;$fileReferenceExtbase-  setOriginalResource($fileReferenceCore);&#xA;&#xA;/* @var ObjectStorage /&#xA;$objectStorage = GeneralUtility::makeInstance(ObjectStorage::class);&#xA;$objectStorage-  attach($fileReferenceExtbase);&#xA;&#xA;$frontendUser-  setImage($objectStorage);&#xA;&#xA;#webdev #TYPO3&#xA;&#xA;div class=&#34;post-signature&#34;smalla href=&#34;https://werdings.writeas.com/werdings-tiere&#34;Werdings Tiere/a &amp;middot; a href=&#34;https://write.as/&#34;write.as/a/small/div]]&gt;</description>
      <content:encoded><![CDATA[<p>On the one hand:</p>

<blockquote><p>In a frontend context [...] there is no specific API to create a File Reference. You are on your own.</p></blockquote>

<p><small><a href="https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/Fal/UsingFal/ExamplesFileFolder.html#in-the-frontend-context">Working With Files, Folders and File References – Creating a File Reference – In the Frontend Context</a></small></p>

<p>On the other hand:</p>

<pre><code class="language-PHP">use TYPO3\CMS\Core\Resource\FileReference as FileReferenceCore;
use TYPO3\CMS\Core\Resource\ResourceFactory;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Domain\Model\FileReference as FileReferenceExtbase;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;

/** @var ResourceFactory */
$resourceFactory = GeneralUtility::makeInstance(ResourceFactory::class);
$file = $resourceFactory-&gt;getFileObjectFromCombinedIdentifier(
    $myCombinedIdentifier
);

/** @var FileReferenceCore */
$fileReferenceCore = GeneralUtility::makeInstance(
    FileReferenceCore::class,
    [&#39;uid_local&#39; =&gt; $file-&gt;getUid()]
);
/** @var FileReferenceExtbase */
$fileReferenceExtbase = GeneralUtility::makeInstance(FileReferenceExtbase::class);
$fileReferenceExtbase-&gt;setOriginalResource($fileReferenceCore);

/** @var ObjectStorage */
$objectStorage = GeneralUtility::makeInstance(ObjectStorage::class);
$objectStorage-&gt;attach($fileReferenceExtbase);

$frontendUser-&gt;setImage($objectStorage);
</code></pre>

<p><a href="https://tobenschmidt.writeas.com/tag:webdev" class="hashtag"><span>#</span><span class="p-category">webdev</span></a> <a href="https://tobenschmidt.writeas.com/tag:TYPO3" class="hashtag"><span>#</span><span class="p-category">TYPO3</span></a></p>

<div class="post-signature"><small><a href="https://werdings.writeas.com/werdings-tiere">Werdings Tiere</a> · <a href="https://write.as/">write.as</a></small></div>
]]></content:encoded>
      <guid>https://tobenschmidt.writeas.com/you-are-not-on-your-own</guid>
      <pubDate>Thu, 27 May 2021 17:44:10 +0000</pubDate>
    </item>
    <item>
      <title>13.21 Uhr</title>
      <link>https://tobenschmidt.writeas.com/13-21-uhr?pk_campaign=rss-feed</link>
      <description>&lt;![CDATA[13.21 Uhr&#xA;[TASK] Update typo3/cms-composer-installers&#xA;&#xA;14.52 Uhr&#xA;[TASK] Downgrade typo3/cms-composer-installers&#xA;&#xA;(In manchen Momenten braucht es eine pragmatische Lösung, um Deprecation-Meldungen aus dem Weg zu gehen.)&#xA;&#xA;#webdev #TYPO3&#xA;&#xA;div class=&#34;post-signature&#34;smalla href=&#34;https://werdings.writeas.com/werdings-tiere&#34;Werdings Tiere/a &amp;middot; a href=&#34;https://write.as/&#34;write.as/a/small/div]]&gt;</description>
      <content:encoded><![CDATA[<p>13.21 Uhr
<em>[TASK] Update typo3/cms-composer-installers</em></p>

<p>14.52 Uhr
<em>[TASK] Downgrade typo3/cms-composer-installers</em></p>

<p>(In manchen Momenten braucht es eine pragmatische Lösung, um Deprecation-Meldungen aus dem Weg zu gehen.)</p>

<p><a href="https://tobenschmidt.writeas.com/tag:webdev" class="hashtag"><span>#</span><span class="p-category">webdev</span></a> <a href="https://tobenschmidt.writeas.com/tag:TYPO3" class="hashtag"><span>#</span><span class="p-category">TYPO3</span></a></p>

<div class="post-signature"><small><a href="https://werdings.writeas.com/werdings-tiere">Werdings Tiere</a> · <a href="https://write.as/">write.as</a></small></div>
]]></content:encoded>
      <guid>https://tobenschmidt.writeas.com/13-21-uhr</guid>
      <pubDate>Wed, 03 Mar 2021 17:58:24 +0000</pubDate>
    </item>
  </channel>
</rss>