rickbutterfield / Umbraco.Community.BlockPreview

Easy to use rich HTML backoffice previews for the Umbraco Block List and Block Grid editors.
MIT License
15 stars 10 forks source link

v1.1.2 seems to break all block previews #13

Closed patrickdemooij9 closed 1 year ago

patrickdemooij9 commented 1 year ago

Hi,

I just upgraded from v1.1.0 to v1.1.2, but now it seems like all my blocks are not rendering correctly anymore. I am running Umbraco 11.2.0 and see the following error in my console: image

I did notice that there are now two app plugins folders so I tested with both files, but they both give the same issues image

Is there anything else that I have to change to get the version working?

patrickdemooij9 commented 1 year ago

Hmm, seems like I've been able to figure it out. The update doesn't clean up the Our.Umbraco.BlockPreview folder which will then load in duplicate controllers (I think) which causes issues with Umbraco.

Deleting the Our.Umbraco.BlockPreview folder and setting all my block list items to the new folder seems to fix this.

rickbutterfield commented 1 year ago

That is good to know! Are you still using the Our.Umbraco.BlockPreview version of the package? I'll add a cleanup task to both anyway but just curious to know