Hi,
Have installed a clean 8.1.1 umbraco instance, set the ModelsMode to "", installed your package and published all items.
On navigating to the site I get a null exception on (i believe) BlogListSection.cshtml when executing this line: var blogsNode = Model.Blog.Select(x => new Blog(x)).FirstOrDefault();
Model.Blog is null. Other fields such as text were populated, but seemingly any fields trying to map to IPublishedContent are not working.
ok so having attempted to install this into a 8.0.2 umbraco instance it's working straight out of the box.
so i guess the answer to my question is it simply isn't supported with 8.1.1 yet?
Indeed, due to the way the Models in the starter kit are included - in the compiled assembly - they'll need to be rebuilt against 8.1+...or that part changed to a pure Models Builder approach.
You can use the method that Cheryl outlines in that thread to use the current source with 8.1+, but the "best" way will be to update the starter kit to use the standard Models Builder approach IMHO.
IPublishedContent fields are null
Hi, Have installed a clean 8.1.1 umbraco instance, set the ModelsMode to "", installed your package and published all items. On navigating to the site I get a null exception on (i believe) BlogListSection.cshtml when executing this line: var blogsNode = Model.Blog.Select(x => new Blog(x)).FirstOrDefault();
Model.Blog is null. Other fields such as text were populated, but seemingly any fields trying to map to IPublishedContent are not working.
Have I missed a step?
thanks
ok so having attempted to install this into a 8.0.2 umbraco instance it's working straight out of the box. so i guess the answer to my question is it simply isn't supported with 8.1.1 yet?
Hi David -
Indeed, due to the way the Models in the starter kit are included - in the compiled assembly - they'll need to be rebuilt against 8.1+...or that part changed to a pure Models Builder approach.
Here's the issue logged at the repository: https://github.com/mjbarlow/Umbraco-8-Bulma-Starter-Kit/issues/2
You can use the method that Cheryl outlines in that thread to use the current source with 8.1+, but the "best" way will be to update the starter kit to use the standard Models Builder approach IMHO.
-Paul
Thanks guys, the starter kit is now updated to Dll models mode, and now works with Umbraco v8.2.
is working on a reply...