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
I think the missing registered services and controllers may be an issue with Smidge which are bundling the assets on Umbraco Cloud, but not locally. I have also noticed this started happening for my own controllers used the block custom views and this where the external login providers are missing: umbraco/Umbraco.Cloud.Issues#476 (comment)
The text was updated successfully, but these errors were encountered:
@leekelleher it may not be specific related to Contentment, but it seems if Smidge fails bundling some JS/CSS assets some later JS/CSS assets may not be registered as mentioned in bergmania/Bergmania.OpenStreetMap#14
In the scenario my controllers for custom block views wasn't registered at all because of some bundle/minifying issues in OpenStreetMap v3.3.0 (which has a updated autocomplete.js asset) ... I reverted back to v3.2.0 and everything was working again.
Not sure in which order JS/CSS assets are registered - maybe in alphabetical order?
It would probably be okay to fail bundling of this asset and log the exception, but not sure if it could avoid failing bundling the other assets - in the custom controllers and in Contentment package. But I guess this is a bug or enhancement in Smidge.
Local environment
Live environment
It seems to happen because the assets for some reason isn't registered:
I can see various controllers has
Umbraco.Community.Contentment.Services.DevModeinjected asdevModeService, but I can't see where it is registered?https://github.com/leekelleher/umbraco-contentment/blob/dev/v3.x/src/Umbraco.Community.Contentment/DataEditors/DataList/data-list.editor.js#L11-L12
Okay, it seems to be a hidden feature, which even GitHub search can't find 😅
here https://github.com/leekelleher/umbraco-contentment/blob/develop/src/Umbraco.Community.Contentment/DataEditors/_/_dev-mode.js
I think the missing registered services and controllers may be an issue with Smidge which are bundling the assets on Umbraco Cloud, but not locally. I have also noticed this started happening for my own controllers used the block custom views and this where the external login providers are missing: umbraco/Umbraco.Cloud.Issues#476 (comment)
The text was updated successfully, but these errors were encountered: