Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JUpgrade 2.5.2 only migrates com_content categories #48

Open
Bakual opened this issue Jul 31, 2012 · 5 comments
Open

JUpgrade 2.5.2 only migrates com_content categories #48

Bakual opened this issue Jul 31, 2012 · 5 comments

Comments

@Bakual
Copy link

Bakual commented Jul 31, 2012

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.

@fastslack
Copy link
Owner

Please enable the debug and paste here the results

@Bakual
Copy link
Author

Bakual commented Aug 7, 2012

  • 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.

@mahagr
Copy link
Contributor

mahagr commented Aug 10, 2012

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.

@Bakual
Copy link
Author

Bakual commented Aug 10, 2012

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 ;)

@redheadkelly
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants