You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After that my shopware administration stops working until I reload the browser window.
Possible fix:
The error is caused by the new blog_detail page type introduced by this plugin. The listing page tries to translate the name of the cms pages and fails for blog_detail because the name and type ist not known to shopware.
My temporary fix is registering the new page type when the administration loads.
// on administration loadconstcmsPageTypeService=Shopware.Service('cmsPageTypeService');cmsPageTypeService.register({name: 'blog_detail',icon: '',title: "werkl-blog.blocks.blog.detail.label",class: [],hideInList: false,});
Further informations:
While chasing down the error i discovered that shopware added a cms-aware flag in Shopware 6.5.x which should auto add custom cms-pages to the cmsPageTypeService in the administration.
If the plugin gets deactivated or uninstalled without deleting the database entries this error occurs too (I think this can only be fixed in the shopware main codebase or by renaming the blog_detail to a type known by shopware)
The text was updated successfully, but these errors were encountered:
I attempted to reproduce the error but was unable to do so using Shopware 6.6.9.0, plugin version 4.2.0, and the Chrome browser. Are you perhaps using Shopware 6.5 with an older version of the plugin?
@7underlines you need to use the table view, not the grid view for the translation to be called, I'm getting the same issue on 6.6.9.0 and plugin version 4.2.0
the cms-aware flag seems to not catch because entities are apparently supposed to start with ce_ or custom_entity_, I don't think I've ever seen a plugin do that..
but that's stopping the page type from being registered here
After opening the shopping experiences listing page (
/#/sw/cms/index
) in the administration I get the following error:After that my shopware administration stops working until I reload the browser window.
Possible fix:
The error is caused by the new
blog_detail
page type introduced by this plugin. The listing page tries to translate the name of the cms pages and fails forblog_detail
because the name and type ist not known to shopware.My temporary fix is registering the new page type when the administration loads.
Further informations:
cms-aware
flag in Shopware 6.5.x which should auto add custom cms-pages to the cmsPageTypeService in the administration.blog_detail
to a type known by shopware)The text was updated successfully, but these errors were encountered: