1.5 to 2.5 upgrade -categories, fields, menus, types, templa

8 years 1 month ago #24707 by WarnerP
I'm working through the Joomla 1.5 to 2.5 upgrade. I installed Flexicontent 2.0 RC4 r1235. I had been using Flexicontent 1.5.6 RC3 1151. I clicked through the upgrade items.

Six things I noticed so far.

I had to rebuild my flexicontent modules as those don't appear to have migrated.

This module also seems to be missing the teaser image option under Image Display parameters for Items>Image Parameters>Image Source

All the categories defaulted to the root so need to be reorganized into their proper menu orders (a bit difficult and tedious).

Looks like my Types, and Fields are gone as well.
The templates are also not set correctly.

The Menu items come back with "Component 'com_flexicontent' does not exist" under Menu Item Type. I had to reassign these menu types as well.

Are these expected behaviors or am I missing a step? Is there a simple way of exporting and importing the settings? This seems a bit excessive to have to recreate all these items.

Please Log in or Create an account to join the conversation.

8 years 1 month ago #24709 by kenmcd
.
I am not aware of any working migration path at this time.
So I am not sure why you think what ever you are doing should work.

You do not mention which Joomla migration tool you are using.

SP Upgrade does not migrate any 3rd-party extensions.
So it has no effect on migrating anything related to FLEXIcontent.

JUpgrade only works for 3rd-party extensions for which they have a plug-in.
I am not aware of any FLEXIcontent plug-in for JUpgrade.
So it has no effect on migrating anything related to FLEXIcontent.

No FLEXIcontent modules will be migrated by either of these migration tools.
Generally these migration tools have no effect on any 3rd-party modules.

The FLEXIcontent categories have a different structure in J1.5 vs. J2.5.
Categories will need a migration script to be migrated properly.

Joomla menu items are related to a component ID.
It is doubtful the new FLEXIcontent 2.0.x version you installed on the new J2.5 website is going to have the same component ID in the database.
So no old FLEXIcontent menu items are going to work.
This is the same for migrating all 3rd-party components.


And there are many other migration issues which would need to be resolved to automate any of the process.
My understanding is the migration issue will not be addressed until some time after the "stable" releases of the current FLEXIcontent versions under development.

.

Please Log in or Create an account to join the conversation.

8 years 1 month ago #24730 by WarnerP
Thanks for the explanation. I used JUpgrade. The only post I've seen about 1.5 to 2.5 ended in March.
http://www.flexicontent.org/forum/index ... c&start=20

Last I read, from that same article, the newer RC version worked with 2.5 so I assumed that it would have remapped the respective data or that there would be an easy way to relink the data. I guess it's my fault for assuming that all the tables would have migrated.
Is there an active post about the status?

Also, is there a comparison on what new features Flexicontent 2.0 will add to the joomla core 2.5?

Please Log in or Create an account to join the conversation.

8 years 1 month ago #24735 by kenmcd
.
JUpgrade does not migrate any tables for any 3rd-party extension,
unless it has a plug-in for that extension.
There is no JUpgrade plug-in for FLEXIcontent that I am aware of.

So none of your FLEXIcontent tables were migrated.
And none of the FLEXIcontent extended data is present in the new database.

Not sure what you mean by "relink the data."
But I assume you mean the FLEXIcontent extended data.
The FLEXIcontent extended data is linked to an article/item using the Joomla article ID.

Articles/Items
Previously JUpgrade changed all the Joomla articles IDs during migration.
This broke the connection to the FLEXIcontent extended data.
Recently an update to JUpgrade included an option to maintain the same article IDs.
I have not tested this newer version yet.
But it now may be possible to have the FLEXIcontent extended data be linked to the proper article/item if the FLEXIcontent tables are present in the new database.
Again, I have not tested this.

Categories
JUpgrade previously also changed all the category IDs.
And because sections no longer exist in J2.5, all sections became categories.
How these sections and categories are migrated affects FLEXIcontent.
JUpgrade now attempts to migrate most categories with the same category IDs.
This may enable most FLEXIcontent items to still be linked to the correct primary category.
But secondary categories, have no idea.

FLEXIcontent 1.5 uses one Joomla section as a base category for all the nested categories.
JUpgrade migrates that section as another category.
Since Joomla 2.5 now has nested categories FLEXIcontent 2.0 uses that structure, and adds the ability to have items in multiple categories just like in FLEXIcontent 1.5.
At this point I am not even sure how to transfer the categories from FC1.5/J1.5 to FC2.0/J2.5.
Obviously some sort of migration tool is required.

Menu Items
JUpgrade only migrates 3rd-party component menu items for which it has a plug-in.
Joomla connects Menu Items to the component using the component ID.
There is no components table in J2.5 like there is in J1.5.
Existing components must be migrated to the new extensions table.
So all menu items must be migrated to connect to the new component ID in the new extensions table.
At this point I have no idea how to do this automatically.
Obviously some sort of migration tool is required.



Because FLEXIcontent uses the core Joomla content tables,
the core Joomla migration issues also affect FLEXIcontent migration.
This is a migration not an upgrade.


Regarding the status of a FLEXIcontent 1.5 to 2.0 migration path,
this issue is currently planned to be addressed after the release of the current stable versions.

Regarding the features in FC2.0/J2.5 vs. FC1.5/J1.5,
most of the same features are in both versions.
But this is something which is still in-progress.

.

Please Log in or Create an account to join the conversation.

8 years 3 weeks ago #24847 by yasarts
Hi,
I found a migration profile for Flexi on the jUprade forum : http://redcomponent.com/forum/92-jupgra ... ons#122975 .
It work (for article, fields, templates...), except for the architecture of category and it don't keep the menu ling 'flexi' but it's a good first step.

Please Log in or Create an account to join the conversation.

8 years 3 weeks ago #24851 by micker

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

8 years 3 weeks ago #24860 by yasarts
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 ...

Please Log in or Create an account to join the conversation.

8 years 3 weeks ago #24861 by micker
merci pour les retours !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

8 years 1 week ago #25487 by phdh

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 ne vois pas comment le calculer).


Il faut recopier les champs ordering et level de Joomla 1.5 vers 2.5
et puis un appel récursif :

Tous les elements qui ont
Cat_root = id categorie root de FC,
c'est level 1

Pour tous les élémnets qui sont des enfants d'un élement de niveau 1
c'est niveau 2 ...etc
( en gros)

Sinon de façon plus basique je voulais migrer les contenus eux mêmes des aticles Flexi content avec tous les contenus de tous les champs donc, mais j'ai pas trouvé où ils était stockés.

Pi

Please Log in or Create an account to join the conversation.

7 years 11 months ago #26442 by HillWoody
Hi all,

is there any news about migrating categories to 2.5?
This is my final missing piece to upgrade.

A minimal script would do it, I could complete db modifications.

Regards & thanks for feedback

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.