http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692015-10-02T10:50:08ZTYPO3 ForgeTYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792462015-10-02T10:50:08ZMorton Jonuschatm.jonuschat@mojocode.de
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>I'm already on that but I'm having trouble reproducing it. Can you provide a bit more detail about the TCA or maybe even a simple test extension that reproduces this?</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792472015-10-02T10:51:10ZPhilipp Wrannphilippwrann@gmail.com
<ul></ul><p>The field detail_type is defined as select, that seems to be the problem, if it is defined as group|db everything works.</p>
<p>BUT then no onchange event is fired and i can not use the requestUpdate feature anymore.</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792492015-10-02T10:52:00ZPhilipp Wrannphilippwrann@gmail.com
<ul></ul><p>If you change the relation type of sys_file_reference|uid_local to select it should break.</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792542015-10-02T11:01:50ZMorton Jonuschatm.jonuschat@mojocode.de
<ul></ul><p>Thanks, i'll try to reproduce with the added information</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792662015-10-02T12:11:12ZFrans Sarisfranssaris@gmail.com
<ul></ul><p><code>FormDataTraverser->getFieldValue()</code> doesn't handle nested relations correctly.</p>
<p>For instance when looking at <code>sys_file_reference.title.placeholder = __row|uid_local|metadata|title</code> the uid_local is found but the the next step fetching the correct metadata record fails</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792692015-10-02T12:21:19ZFrans Sarisfranssaris@gmail.com
<ul></ul><p>Looks like the code can not find the correct metadata record. It always finds the first record from sys_file_metadata table.</p>
<p><em>edit</em> looks like the reason for that is because I set the metadata value of sys_file to 1</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792702015-10-02T12:34:29ZFrans Sarisfranssaris@gmail.com
<ul></ul><p>Ok, looks like <code>getRecordRow()</code> returns a flat db record where metadata holds only the reference count but <code>getRelatedInlineFieldUids()</code> expects a value like "The value in the local table (normally a comma separated list of the inline record UIDs)."</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2792752015-10-02T12:54:30ZChristian Kuhnlolli@schwarzbu.ch
<ul><li><strong>Parent task</strong> set to <i>#69617</i></li></ul> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2793622015-10-02T21:18:12ZMorton Jonuschatm.jonuschat@mojocode.de
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Morton Jonuschat</i></li><li><strong>Priority</strong> changed from <i>Should have</i> to <i>Must have</i></li></ul> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2795302015-10-04T19:00:31ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="http://review.typo3.org/43795">http://review.typo3.org/43795</a></p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2796012015-10-05T09:43:46ZGerrit Code Review
<ul></ul><p>Patch set 3 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="http://review.typo3.org/43748">http://review.typo3.org/43748</a></p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2796242015-10-05T11:36:55ZGerrit Code Review
<ul></ul><p>Patch set 4 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="http://review.typo3.org/43748">http://review.typo3.org/43748</a></p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2796962015-10-05T15:32:54ZGerrit Code Review
<ul></ul><p>Patch set 5 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="http://review.typo3.org/43748">http://review.typo3.org/43748</a></p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=2796972015-10-05T15:33:37ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[BUGFIX] FormDataTraverser must check data type before explode() Resolves: #70297 Releases: mast..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/0b29135f0d6288fc4c0ace97ca9664913fa447f8">0b29135f0d6288fc4c0ace97ca9664913fa447f8</a>.</p> TYPO3 Core - Bug #70297: Placeholder config with default value of related record field failshttp://forge.typo3.org/issues/70297?journal_id=3462122017-10-21T17:42:29ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>