r
Things feel a lot snappier when running RC2, great job team!
k
can you get it to actual render a blockgrid ?
(with the nuget package that is) Cause I'm seeing the return of this https://github.com/umbraco/Umbraco-CMS/issues/16227
r
Yep, blocks are working fine for me! With and without my BlockPreview testing going on...
I've had this before where I had to clean the solution, clear my NuGet packages and restore again to get things working
k
I've spun up a completely new project from the nuget file, I cannot render a block out in the cshtml.
Everything is working fine in the backoffice
Copy code
csharp
@using Umbraco.Cms.Web.Common.PublishedModels;
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<MainPage>
@{
    Layout = null;
    var test = Model.Grid;
}
This is enough on my frontpage to crash the site https://cdn.discordapp.com/attachments/1258361532266315816/1258385886014607471/image.png?ex=6687daae&is=6686892e&hm=c4dcff24ddcb5ecbb88eb432175bd20bdf0f3b61bced65fac12c5cb6a494bf35&
If I spin up by compiling umbraco-cms source code and run the same db and same code on it, it doesn't fail :/
@rickbutterfield I swear I'm not crazy, but I feel like I'm going crazy... Have you, specifically tried to actually output a grid on a razor page? I have the exact same solution running v14.0 and another running v14.1.0-rc2 (rc 1 did the same for me) and I -cannot- run the above code on anything newer than 14.0
It works fine if I check out release/14.1 and build the source code myself and run the exact same scenario again - it is strictly when I try to run it off the nuget package of 14.1.0-rc or 14.1.0-rc2 and try to output/access the blockgrid from a cshtml file.
r
Nope, doesn't seem to have affected me. Tried exactly as you've said... new blank 14.1.0-rc2 project, add a Home doctype, add an RTE Block, add a Block Grid to the home doctype that allows the RTE Block
Everything is rendering correctly for me
k
I must be going crazy here.. I can reproduce with a completly fresh pull from this https://github.com/kasparboelkjeldsen/umbraco14.1.weirdness
r
Just tried to pull and run it, and it works fine for me...
I'd say clear your NuGet cache and try again
nuget locals all -clear
k
...what
Nope, same deal after a cache clear.
and frontend is saying rc2... I'll try again on my home computer when I get home from the office, but I really don't understand this https://cdn.discordapp.com/attachments/1258361532266315816/1258410107650441236/image.png?ex=6687f13d&is=66869fbd&hm=4d4ab41e36638b4967ef2bfc5c383fea006908c0164301272d9ac1b6944009b5&
scratch that, this is bugging me so much I'll spin it up in a vm on the train ride home. Very thankfull for your testing @rickbutterfield even if it turns out I'm insane.
Just replicated it on a computer that has never run anything Umbraco 14 before :/
Perhaps I am haunted.
@rickbutterfield this is in a completly new installed windows 11 dev environment hyper-v machine, something is definitely up https://cdn.discordapp.com/attachments/1258361532266315816/1258686271543316581/image.png?ex=6688f270&is=6687a0f0&hm=da6f04e698744d94578122f89fe0a945f3fb1dae7b1e056b61dcdab46d26cd2e&
Replicated across the office now as well, it's weird it doesn't happen for you
3 Views