Yes, it's good news
I try to understand how jUprgrade works to try to help to developp a migration tool.
I'm not good enough in sql to build this migration (but I try to learn
). If anybody could help...
In French :
Selon mes constations, la migration pose actuellement 2 problèmes :
- on ne conserve pas l'arborescence des catégories.
- si on utilise (comme moi...) le champs "selectflexiitem" et le "selectflexiitem_reverse", ceux-ci ne sont plus compatibles avec la version Flexi pour J!2.5 (remplacé par le champ "related item") et présentent donc une erreur après la migration.
Sur l'arborescence des catégories :
Flexicontent ajoute un champ à la table jos_categorie "parent_id" pour construire l'arborescence.
Il est donc nécessaire de prévoir une migration de ce champs vers le champs de la table categories de J!2.5 ; donc de jos_categories ""parent_id" vers la table j25_categories, champ "parent_id".
Attention : dans J!2.5, il existe également un champ "level" qui détermine le niveau dans l'arborescence. Je n'ai pas trouvé de champ similaire sous Joomla 1.5. Il faudrait donc prévoir ce champ avoir de pouvoir migrer facilement (je ne vois pas comment le calculer).
Je n'ai pas trouver dans la doc de jUpgrade comment migrer un champ d'une table native de Joomla, il me emble qu'il faudrait modifier ce fichier : administrator\components\com_jupgrade\includes\migrate_categories.php (ligne 117 ?).
Sur le champ 'related item' :
pour le moment, je ne vois pas...
In english (sorry for faults...)
According to my findings, migration poses two problems now:
- It does not keep the category tree.
- If we use (like me ...) the field "selectflexiitem" and "selectflexiitem_reverse", they are no longer compatible with Flexi version for J! 2.5 (replaced by the "related item") and are therefore error after migration.
On the category tree:
Flexicontent adds a field to the table jos_categorie "parent_id" to build the tree.
It is therefore necessary to provide a migration of the fields to the fields in the table of categories J! 2.5; therefore jos_categories "" parent_id "j25_categories to the table, field" parent_id ".
Caution: in J! 2.5, there is also a field "level" that determines the level in the tree. I have not found a similar field in Joomla 1.5. It would thus require this field have to be able to migrate easily (I do not see how to calculate it).
I did not find in the documentation of how to migrate jUpgrade a field of a table of native Joomla, I emblem that should modify this file: administrator \ components \ com_jupgrade \ includes \ migrate_categories.php (line 117?) .
On the field 'related item':
for now, I do not see ...