http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692013-03-07T11:08:06ZTYPO3 ForgeTYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=1537762013-03-07T11:08:06ZReindl Berndb.reindl@2mountain.com
<ul></ul><p>Hello,</p>
<p>i have the same problem with TYPO3 6.0.3.</p>
<p>With this patch the relations for the workspace are found.</p>
<p>But if i create a relation in the workspace, the relation is lost. So i have extend the function.</p>
<pre><code>@<br /> public function findByRelation($tableName, $fieldName, $uid) {<br /> $itemList = array(); <br /> if (!\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($uid)) {<br /> throw new \InvalidArgumentException('Uid of related record has to be an integer.', 1316789798);<br /> } <br /> $considerWorkspaces = !empty($GLOBALS['BE_USER']->workspace) && \TYPO3\CMS\Backend\Utility\BackendUtility::isTableWorkspaceEnabled($tableName) ? 1 : 0; <br /> if($considerWorkspaces)
{<br /> $row = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(<br /> '*',<br /> $tableName,<br /> 'uid=' . intval($uid)<br /> );<br /> $row = $row[0]; <br /> \TYPO3\CMS\Backend\Utility\BackendUtility::workspaceOL($tableName, $row);<br /> if(isset($row['_ORIG_uid']))<br /> $uid = $row['_ORIG_uid'];<br /> } <br /> $references = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(<br /> '*',<br /> 'sys_file_reference',<br /> 'tablenames=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($tableName, 'sys_file_reference') .<br /> ' AND deleted = 0' .<br /> ' AND hidden = 0' .<br /> ' AND uid_foreign=' . intval($uid) .<br /> ' AND fieldname=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($fieldName, 'sys_file_reference'),<br /> '',<br /> 'sorting_foreign'<br /> ); <br /> foreach ($references as $referenceRecord) {<br /> if($referenceRecord['t3ver_state'] > 0)
{<br /> continue;<br /> }<br /> if ($considerWorkspaces)
{ <br /> \TYPO3\CMS\Backend\Utility\BackendUtility::workspaceOL('sys_file_reference', $referenceRecord);<br /> }<br /> $itemList[] = $this->createFileReferenceObject($referenceRecord);<br /> }<br /> return $itemList;<br /> }@</code></pre>
<p>This works fine for me.</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=1565142013-03-27T10:06:57ZMarius S.marius.schmerbeck@sedo.com
<ul></ul><p>Reindl Bernd's version works great for me! Thank you.</p>
<p>Please have this one released.</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=1884482013-10-30T01:02:00ZGabe Blairgabe@castironcoding.com
<ul></ul><p><a class="user active user-mention" href="http://forge.typo3.org/users/4630">@Reindl Bernd</a>: Thanks for the patch. Will you be submitting a Gerrit change for it? You will have a much better chance of getting it into the official core that way.</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=1999612014-01-20T13:42:26ZAlexander Opitzopitz.alexander@googlemail.com
<ul><li><strong>Project</strong> changed from <i>1401</i> to <i>TYPO3 Core</i></li><li><strong>Category</strong> changed from <i>Frontend</i> to <i>Frontend</i></li></ul> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=1999622014-01-20T13:42:41ZAlexander Opitzopitz.alexander@googlemail.com
<ul><li><strong>Category</strong> changed from <i>Frontend</i> to <i>File Abstraction Layer (FAL)</i></li><li><strong>Is Regression</strong> set to <i>No</i></li><li><strong>TYPO3 Version</strong> set to <i>6.0</i></li></ul> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2141862014-04-25T17:38:51ZAlex Pöllalexpoell@infound.at
<ul></ul><p>Dear TYOP3 core team,</p>
<p>we're using TYPO3 6.1.7 and have experienced this problem. (Images of not yet published content don't show up in Preview).</p>
<p>Although we've implemented the above patch it's still not working.</p>
<blockquote>
<p>I'd appreciate if you could help!</p>
</blockquote>
<p>Are you going to fix this bug for TYPO3 6.1.7?</p>
<p>And is the same bug present in the new TYPO3 6.2 LTS Version?</p>
<p>Kind regards,<br />Alex</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2141922014-04-25T17:52:22ZMarkus Timtnermarkus@timtner.de
<ul></ul><p>Hi Alex,</p>
<p>this issue has forced me to do the update to v6.2LTS - and I am not looking back since ;)<br />The FAL implementation is now fully Workspace compatible, along with other significant UI improvements.</p>
<p>Kind regards,</p>
<p>MT</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2141932014-04-25T17:59:24ZAlex Pöllalexpoell@infound.at
<ul></ul><p>Thanks a lot Markus for your fast response. Sounds good!</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2144632014-04-28T15:25:21ZBenni Mackbenni@typo3.org
<ul></ul><p>Hey,</p>
<p>well, files might work, but file relations won't work with repositories at all anymore.</p>
<p>Change an image relation to tt_content (sys_file_reference) in a workspace and publish that - the live workspace will show two records.</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2144642014-04-28T15:29:16ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>New</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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2144652014-04-28T16:08:18ZGerrit Code Review
<ul></ul><p>Patch set 2 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2167102014-05-14T10:55:01ZGerrit 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2167112014-05-14T10:55:02ZGerrit Code Review
<ul></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="https://review.typo3.org/30100">https://review.typo3.org/30100</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2167182014-05-14T11:49:59ZGerrit 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2194812014-06-05T17:36:53ZGerrit 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2195152014-06-05T21:35:09ZOliver Haderoliver.hader@typo3.org
<ul><li><strong>Parent task</strong> set to <i>#58284</i></li></ul> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2197702014-06-10T11:41:32ZGerrit Code Review
<ul></ul><p>Patch set 6 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2198232014-06-10T15:44:29ZGerrit Code Review
<ul></ul><p>Patch set 7 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2198342014-06-10T17:40:50ZGerrit Code Review
<ul></ul><p>Patch set 8 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="https://review.typo3.org/29712">https://review.typo3.org/29712</a></p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2199242014-06-11T12:30:40ZBenni Mackbenni@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] File Relations don't work with workspaces The file repository used to resolve all sys_f..." href="http://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/ed5b0d124dcc7b8975e37b9afda6fae18c8aff6e">ed5b0d124dcc7b8975e37b9afda6fae18c8aff6e</a>.</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2201092014-06-12T13:40:27ZOliver Haderoliver.hader@typo3.org
<ul><li><strong>Assignee</strong> set to <i>Benni Mack</i></li></ul> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2236942014-07-10T16:40:47ZAlex Pöllalexpoell@infound.at
<ul><li><strong>File</strong> <a href="/attachments/27126">Screen_Shot_2014-07-10_at_16.31.46.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/27126/Screen_Shot_2014-07-10_at_16.31.46.png">Screen_Shot_2014-07-10_at_16.31.46.png</a> added</li><li><strong>File</strong> <a href="/attachments/27127">Screen_Shot_2014-07-10_at_16.35.28.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/27127/Screen_Shot_2014-07-10_at_16.35.28.png">Screen_Shot_2014-07-10_at_16.35.28.png</a> added</li><li><strong>File</strong> <a href="/attachments/27128">Screen_Shot_2014-07-10_at_16.34.39.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/27128/Screen_Shot_2014-07-10_at_16.34.39.png">Screen_Shot_2014-07-10_at_16.34.39.png</a> added</li><li><strong>File</strong> <a href="/attachments/27129">Screen_Shot_2014-07-10_at_16.38.40.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/27129/Screen_Shot_2014-07-10_at_16.38.40.png">Screen_Shot_2014-07-10_at_16.38.40.png</a> added</li></ul><p>Dear TYOP3 core team,</p>
<p>we've recently updated (from 6.1.7) to TYPO3 6.2.3 in order to have this problem solved. Unfortunately a new problem come up:</p>
<p>Images of not yet published content (workspaces mode) now appear twice in the backend layout of the page and in the website preview. Please have a look at the attached screenshots.</p>
<p>Thanks for your support,<br />Alex</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=2242232014-07-15T17:50:21ZGerhard Ruppgerhard.rupp@respon.se
<ul></ul><p>It seems that this is fixed in TYPO3 6.2.4.</p> TYPO3 Core - Task #43916: File Repository does not work with Workspaceshttp://forge.typo3.org/issues/43916?journal_id=3874102018-10-02T12:35:25ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>