jUpgrade icon indicating copy to clipboard operation
jUpgrade copied to clipboard

JUpgrade 2.5.2 only migrates com_content categories

Open Bakual opened this issue 13 years ago • 5 comments

JUpgrade 2.5.2 only migrates categories for com_content. Categories for banners, contacts, feeds and weblinks aren't migrated over. Only the default "Uncategorised" category are created.

The entries are present in the "jupgrade_categories" table but not in the table "j25_categories".

The same applies for 3rd party extension that want to migrate the categories.

I've tested it with a fresh installation of Joomla 1.5.26 with example content.

Bakual avatar Jul 31 '12 10:07 Bakual

Please enable the debug and paste here the results

fastslack avatar Aug 07 '12 04:08 fastslack

  • Mootools: 1.2.5
  • Settings: Skip download, Delete old installation, others are default
  • Debug:

[checks]

1

[cleanup]

1

[decompress]

1

[install_config]

1

[install_db]

[1] [users]

[2] [categories]

.

[3] [content]

[4] [menus]

.

[5] [modules]

[6] [banners]

[7] [contacts]

[8] [newsfeeds]

[9] [weblinks]

[files]

[10] [extensions]

;|;10;|;extensions;|;11

[14] [com_sermonspeaker]

;|;14;|;com_sermonspeaker;|;15

[15] [ready]

;|;15;|;ready;|;15

Com_sermonspeaker would be the extension I'm trying to write a plugin for. The issue is still present if I disable 3rd party extensions or delete my plugin files.

Bakual avatar Aug 07 '12 06:08 Bakual

For 3rd party categories, I would do the data migration inside the component plug-in itself. You should check how tables are migrated for content categories and find the code how to do custom table import -- just check how it's done in Kunena or in other components.

mahagr avatar Aug 10 '12 11:08 mahagr

The issue is about core extensions like com_banner and the like. JUpgrade currently only migrates categories from com_content (and com_section) and nothing else. So the issue isn't connected to 3rd party extensions.

But I think 3rd party categories should be migrated as well. After all JUpgrade does include 3rd party categories in the "jupgrade_categories" table where it does the mapping between old and new category ids. But apparently they are not created for some reason. Also we can define the category section in the xml and this is read by JUprade, so it should be (and did in previous versions) working.

By the way: Kunena doesn't use categories, so this would be a bad example ;)

Bakual avatar Aug 10 '12 14:08 Bakual

I had the same problem. My weblinks were imported, but not the categories. Just to confirm Bakual's comment, this is not an issue with 3rd party categories. Weblinks is a core component in Joomla as are the categories.

redheadkelly avatar Aug 22 '12 20:08 redheadkelly