-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issue with models mode set to none #89
Comments
Hi @adayinthelifeofapro - this is correct functionality and a new feature to surface this error. BlockPreview has always required the presence of strongly typed models to generate the previews |
Hi @rickbutterfield this causes an issue when the site is running on Umbraco Cloud staging or production sites, as they specify that the ModelsBuilder mode should be set to Nothing, see error log screenshot below: Setting the ModelsBuilder mode to SourceCodeManual or SourceCodeAuto causes a boot failure to occur on the Umbraco Cloud website |
@adayinthelifeofapro Ah, that is a very good point! Back to the drawing board on this one... |
@adayinthelifeofapro hoping to have a fix for this out tomorrow |
@adayinthelifeofapro v1.12.0 is now on NuGet, please give it a try and report back! |
This is still an issue for us on Umbraco 13.5.3. |
@Wolfkhan66 please can you confirm the following:
|
Which Umbraco.Community.BlockPreview version are you using?
1.11.0
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
13.5.3
Bug summary
If the models mode is set to none, the following warnings appear on block preview
Steps to reproduce
Set models mode to none in config
Expected result / actual result
Block Preview should still work when the models mode is set to none
The text was updated successfully, but these errors were encountered: