[TYPO3-dev] Migrate to FAL with internal_type = file_reference

Christian Ludwig cl at viazenetti.de
Thu May 15 16:19:24 CEST 2014


Hi Jigal,

In extensions using file references, everything works as before, so this
is not the problem. But the core content elements simply break because
as you wrote, the image field does not support to contain a path string
anymore.
And I agree with you when talking about i. e. DAM, this is a massive
change in file handling. But what we did was simply changing some
parameters.

So I thing it must be the job of the Update Wizzard to migrate
file_references to FAL.

Hope the team thinks about extending the Upgrade Wizzard in future - I
would appreceate it very much.

Greetings
Christian

-----Original Message-----
From: Jigal van Hemert
Sent: Wednesday, May 14, 2014 9:11 PM

Hi,

On 14-5-2014 17:39, Christian Ludwig wrote:
> bad news, but internal_type = file_reference is a core feature since
> v4.3 and is commonly used by others (simply google for i. e.
> https://www.google.de/search?q=internal_type+%3D+file_reference+upload
> s
> or look at
> http://blog.marit.ag/2013/01/16/files-ohne-kopie-in-uploadspics/).

It is a core feature, but the tt_content field 'image' was never
configured as a file reference type by the core.

The Upgrade Wizard does not upgrade fields from extensions or modified
fields; it is only meant to handle fields as they were supplied by the
core distributions.

> So are there no plans in extending the Upgrade Wizzard?

Not that I know. The number of people who changed the TCA of core tables
is rather limited.

> Any other hints on where to start writing an extension or extending 
> the UW my self or is TYPO3\CMS\Install\Updates\TceformsUpdateWizard 
> the only place to beginn?

Extensions can have an update script that can be run from within the EM
to perform updates. You could write one.

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org
_______________________________________________







More information about the TYPO3-dev mailing list