Open stefanie27 opened 1 day ago
I had the same thing with the code generation command, in my case it seems to be related to the 'AllowedContentItemTypeIdentifiers' missing for the fields with the 'Kentico.Administration.ContentItemSelector' control.
Hi @stefanie27, a fix has been merged into master in past 9 hours (#280). Can You try if issue still persists with latest version from master branch?
Thanks @tkrch . I will check it out.
Brief bug description
We recently migrated a K12 DB (v 12.0.101) to XPbK 29.3.3 and need to do the same for the live DB. We got latest version of the Migration Tool (1.9.0 for v29.6.0) and created a new Xperience project with updated code and database to v29.6.0. After we migrated the DB, we encountered multiple errors. When running the site following error appears "InvalidOperationException: No content type has been configured."
I then followed a forum entry to recreate the PageContentType classes via dotnet run --kxp-codegen --no-build --type "PageContentTypes" . I receive following error when doing that "An error occurred during the code file generating process. fail: Kentico.Web.Mvc.IStartupConfigureAction[0] Startup action 'Kentico.Web.Mvc.CodeGenService'. System.ArgumentNullException: Value cannot be null. (Parameter 'json')"