http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692019-03-12T14:04:24ZTYPO3 ForgeTYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=3965812019-03-12T14:04:24ZMarkus Opahle
<ul></ul><p>Looks like \TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider cannot handle the magic methods from LazyLoadingProxy</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=3970202019-03-23T12:11:54ZClaus Dueclaus@phpmind.net
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>See <a class="external" href="https://github.com/TYPO3/Fluid/pull/438">https://github.com/TYPO3/Fluid/pull/438</a> which solves this. Will be in the next release of Fluid.</p>
<p>Closing the issue since the problem is not in TYPO3 CMS.</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4000502019-05-07T12:13:29ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4046382019-08-09T11:57:29ZSteffen Müller
<ul></ul><p>This fix in not applied in TYPO3 9.5.8, currently only in TYPO3/Fluid master.<br />AFAIK it would require<br />- [ ] backporting the patch to 2.6 branch,<br />- [ ] releasing TYPO3/Fluid 2.6.2<br />- [ ] releasing new version of typo3-cms/fluid</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4062352019-09-20T09:53:02ZTill Wimmer
<ul></ul><p>It's not solved in 9.5.9 either.</p>
<p>Will this be fixed? It makes our extensions partly unusable, or we have to remove lazy loading.</p>
<p>I also get problems when passing certain properties with lazy loading to repositorie's find methods.</p>
<p>E.g. <br /><pre>
myRepositpory->findByMessungAndJahr($status->getMessung(), $status->getJahr());
</pre></p>
<p>throws<br /><em>Argument 2 passed to ... mmust be an instance of ...\Jahr instance of TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy given</em></p>
<p>Both Messung and Jahr are lazy properties, but strangely there is only an issue with Jahr.</p>
<p>Before migrating to 9.x we did not have these issues.</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4067612019-09-26T17:54:28ZSteffen Müller
<ul></ul><p>current TYPO3/Fluid release 2.6.4 fixes the issue, <br />composer installations should receive the fix</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4068072019-09-27T14:41:41ZTill Wimmer
<ul></ul><p>Thanks for the info. And when do non-composer installations receive the fix?</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4091242019-11-07T08:55:29ZChris no-lastname-given
<ul></ul><p>I can confirm this issue with TYPO3 9.5.10 (non-composer installation).</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4104772019-11-27T09:47:55ZChris no-lastname-given
<ul></ul><p>Chris no-lastname-given wrote:</p>
<blockquote>
<p>I can confirm this issue with TYPO3 9.5.10 (non-composer installation).</p>
</blockquote>
<p>I have to correct myself:<br />With TYPO3 9.5.10 it is working for me, but not with 9.5.11 (non-composer installation). Interesting...</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4108552019-12-04T15:22:48ZFelix Holler
<ul></ul><p>Chris no-lastname-given wrote:</p>
<blockquote>
<p>Chris no-lastname-given wrote:</p>
<blockquote>
<p>I can confirm this issue with TYPO3 9.5.10 (non-composer installation).</p>
</blockquote>
<p>I have to correct myself:<br />With TYPO3 9.5.10 it is working for me, but not with 9.5.11 (non-composer installation). Interesting...</p>
</blockquote>
<p>Can also confirm. in 9.5.11 non comoser installation the problem is not fixed but in 9.5.10</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4144182020-01-27T15:08:41ZChris no-lastname-given
<ul></ul><p>Problem still extists with TYPO3 9.5.13 in non composer installation. I have opened a new issue (<a class="issue tracker-1 status-2 priority-3 priority-lowest" title="Bug: Getters of class LazyLoadingProxy can't be called by Fluid (Accepted)" href="http://forge.typo3.org/issues/90215">#90215</a>), which points to this one.</p> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4144202020-01-27T15:10:12ZChris no-lastname-given
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-2 priority-3 priority-lowest" href="/issues/90215">Bug #90215</a>: Getters of class LazyLoadingProxy can't be called by Fluid</i> added</li></ul> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4316062020-09-21T16:46:01ZStephan Großberndt
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/87899">Bug #87899</a>: Magic getters stop to be evaluated in Fluid starting from TYPO3 9</i> added</li></ul> TYPO3 Core - Bug #87651: Lazy loading (sometimes) not working in Fluid (only n:1 relations)http://forge.typo3.org/issues/87651?journal_id=4328402020-10-06T18:03:09ZTizian Schmidlinst@cabag.ch
<ul></ul><p><del>I can confirm this issue also exists in 9.5.22, should I require fluid in a higher version and try to bypass TYPO3's requirements?</del><br />EDIT: it was a misconfiguration and an erroneous content that led to the "bad" behaviour, could not reproduce in TYPO3 9.5.22</p>