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

Exception: Failed to load content type with name 'CategoryData' during Import #23

Closed
davidbuo opened this issue Jan 6, 2020 · 1 comment

Comments

@davidbuo
Copy link

davidbuo commented Jan 6, 2020

Issues when Importing 'CategoryData' due to not having the [ContentType] attribute. Issue and solution is described in this forum post.

CategoryData class

@Tim-Schmelter
Copy link

Tim-Schmelter commented Nov 13, 2023

Is this issue really fixed? If so, how? Because in the linked post it was suggested to decorate CategoryData with the [ContentType] attribute, but this is not in the current code, is it? I noticed this issue during a content migration from one test environment to prod(which is crucial for go-live for a big customer this month). The exception is the same as in the linked post, but i'm using the Geta.Optimizely.Categories plugin, so i created another post. I have tested these export settings to no avail:

  • checked/unchecked"Automatically export dependent content types"
  • Export content types:
    • Category
    • CategoriesFolder
    • CategoryRoot

As you can see, there is no CategoryData to check, which is causing this issue. But that ContentType is neither in the source db nor in the target db. So why is it causing an error on import? What can i do to fix it?

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

3 participants