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

FIX: Importers should create duplicate categories if the parent category is different #3270

Merged
merged 1 commit into from Mar 12, 2015

Conversation

gschlager
Copy link
Member

https://meta.discourse.org/t/phpbb-3-importer-goes-slow/26182/8?u=gerhard

This changes the content of @categories_lookup in the base importer from Category objects to IDs since the category names aren't needed anymore. The lookup method has been renamed too.
All importers (except askbot which seems to do this differently) were changed to use the category ID instead of name.

…nt category is different

This changes the content of `@categories_lookup` from `Category` objects
to IDs since the category names aren't needed anymore. The lookup
method has been renamed too.
@discoursebot
Copy link

You've signed the CLA, gschlager. Thank you! This pull request is ready for review.

@nlalonde
Copy link
Member

Thanks for this fix! All the importers just got better. 👍

nlalonde added a commit that referenced this pull request Mar 12, 2015
FIX: Importers should create duplicate categories if the parent category is different
@nlalonde nlalonde merged commit 865d6a2 into discourse:master Mar 12, 2015
@gschlager gschlager deleted the importers branch March 13, 2015 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants