Task #58843

Story #58777: Fixes/Tasks for impexp / distributions

Fix imports for fields of type input with link wizard

Added by Marc Bastian Heinrichs about 1 year ago. Updated 6 months ago.

Status:Resolved Start date:2014-05-15
Priority:Should have Due date:
Assigned To:Marc Bastian Heinrichs % Done:

100%

Category:Import/Export (T3D) Spent time: -
Target version:-
TYPO3 Version:6.2 Complexity:
PHP Version: Sprint Focus:

Description

Fields of type import and link wizard could also contain a path to a local file in addition to a direct file reference (file:42). The refindex correctly analyse this and saves a db relation to the uid of the sys_file records.

But on imports this is not correct resolved back, but a value "sys_file_{uid}" is saved.

Associated revisions

Revision 09b82e3d
Added by Marc Bastian Heinrichs 6 months ago

[BUGFIX] Fix import for fields of type input with link wizard

Fields of type import and link wizard could also contain a path to
a local file in addition to a direct file reference (file:42). The
refindex correctly analyse this relation and saves a db relation to
the uid of the sys_file records.

On imports this is not correct resolved back, but a value
"sys_file_{uid}" is saved.

In addition this patch fixes also a redundant inclusion of files
stored in fileadmin for such a field type, because of having a
sys_file db relation and a softreference.

Resolves: #58843
Releases: master, 6.2
Change-Id: I32bb0e82212295f71c22dfa4935d7d940eb3c95e
Reviewed-on: http://review.typo3.org/30171
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 576c4d33
Added by Marc Bastian Heinrichs 6 months ago

[BUGFIX] Fix import for fields of type input with link wizard

Fields of type import and link wizard could also contain a path to
a local file in addition to a direct file reference (file:42). The
refindex correctly analyse this relation and saves a db relation to
the uid of the sys_file records.

On imports this is not correct resolved back, but a value
"sys_file_{uid}" is saved.

In addition this patch fixes also a redundant inclusion of files
stored in fileadmin for such a field type, because of having a
sys_file db relation and a softreference.

Change-Id: I1399006b44f6a9365a92e42911cc3daaa8a81d89
Resolves: #58843
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36384
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Marc Bastian Heinrichs about 1 year ago

  • Subject changed from Fix imports for fields of type import and link wizard to Fix imports for fields of type input with link wizard

#2 Updated by Marc Bastian Heinrichs about 1 year ago

  • Tracker changed from Task to Bug

#3 Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30171

#4 Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30171

#5 Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30171

#6 Updated by Gerrit Code Review 7 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/30171

#7 Updated by Gerrit Code Review 6 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/30171

#8 Updated by Marc Bastian Heinrichs 6 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#9 Updated by Gerrit Code Review 6 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36384

#10 Updated by Marc Bastian Heinrichs 6 months ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF