another issue we are currently facing is that the CMS (Azure environment) will restart if a CMS editor tries to use the category selector(geta optimizely categories) which is using the CategorySelectionTree.js that is loading all categories via /EPiServer/cms/Stores/contentstructure/6685 (6685 is the category-id). This is causing heavy load on the database and leads to sql timeouts after 40 seconds. We did not have this issue with Epi11. So maybe someone has an idea how to optimize the database here(we played around with Mars and connection pooling). This is an urgent production issue that needs to get fixed(we are silver partner). We also see performance issues on scheduled jobs recently causing sometimes sql timeouts so failed jobs.
As a workaround i'm trying to support drag & drop for the categories, so that the user can assign them directly from the cms tree without needing to use the selector dialog. This does not seem to be supported. Is that a general issue or something that i should address to the geta plugin support? Has someone else the same issue and maybe a solution?
The AllowedTypes seems to be correct, isn't it?
[Display(Name = "Categories",
Description = "Add one or more Categories under which this Article will be tagged in, and can be filtered for.",
GroupName = SystemTabNames.Content, Order = 30)]
[Categories]
[AllowedTypes(AllowedTypes = new[] { typeof(CategoryData) })]
public virtual IList<ContentReference>? Categories { get; set; }
The CategoriesAttribute is the one from the plugin and added as shown in the documentation. For the sake of completeness, this is the code:
Thanks for the advice. Meanwhile i have stopped trying to use the plugin category selector since it has two major issues: - massive db issues because it's loading all categories in parallel - does not support drag & drop
I now select categories with the normal content selector which supports drag & drop and also does not have any issues with db performance. Since geta categories are normal content that works without a problem.
Hello,
another issue we are currently facing is that the CMS (Azure environment) will restart if a CMS editor tries to use the category selector(geta optimizely categories) which is using the CategorySelectionTree.js that is loading all categories via /EPiServer/cms/Stores/contentstructure/6685 (6685 is the category-id). This is causing heavy load on the database and leads to sql timeouts after 40 seconds. We did not have this issue with Epi11. So maybe someone has an idea how to optimize the database here(we played around with Mars and connection pooling). This is an urgent production issue that needs to get fixed(we are silver partner). We also see performance issues on scheduled jobs recently causing sometimes sql timeouts so failed jobs.
As a workaround i'm trying to support drag & drop for the categories, so that the user can assign them directly from the cms tree without needing to use the selector dialog. This does not seem to be supported. Is that a general issue or something that i should address to the geta plugin support? Has someone else the same issue and maybe a solution?
The AllowedTypes seems to be correct, isn't it?
The CategoriesAttribute is the one from the plugin and added as shown in the documentation. For the sake of completeness, this is the code:
Any advice is greatly appreciated.