[FLOW3-general] Help needed - test migration tools for FLOW3 1.0.0 alpha 7!

Karsten Dambekalns karsten at typo3.org
Fri Jan 15 19:01:15 CET 2010


Hi!

Everyone who uses FLOW3 - listen up!

Today Robert renamed a massive amount of classes and files in FLOW3. And
the next alpha will sport a rewritten persistence backend no longer
using TYPO3CR. I just committed a data migration script to SVN and ask
you to test it along with the code migration script Robert wrote. Here
is how (read first, then try):

1. Backup your FLOW3 installation. You never know...
2. Update to the latest FLOW3 trunk.
3. run ./flow3 migrate classnames
4. run ./flow3 migrate persistence
5. Check your website/application

Step 3 above adjusts class names in your code to the new class names -
we Robert did some massive consistency cleanup today. We figured you
don't want to adapt all your code manually, so... :)

Step 4 converts Data/Persistent/TYPO3CR.db to Data/Persistent/Objects.db
In case you have configured your FLOW3 to use a different database
setup, you need to adjust the file
  Packages/Framework/FLOW3/Script/migratepersistence.php
Just look at the beginning of the file and adjust the configuration array.

Ideally the 4th step simply returns without any output and your code and
data still work as before (maybe even faster). Just answer here so I
know I can have a beer. :)

If not, please include any error messages, details, information you have
to circle the problem!

Two known gotchas: arrays in arrays and SplObjectStorage instances in
arrays (possible to persist until now) are not (yet?) supported in
alpha7. If you get an exception telling you this, please still answer
here, so I know we need to implement support for that :)


Have a nice weekend,
Karsten


More information about the FLOW3-general mailing list