LinusEkstrom / AddOn.Episerver.Settings

This Episerver addon tries to bring a standardized way of managing settings for Episerver solutions.
MIT License
11 stars 6 forks source link

Error looking for Bootstrapper.cshtml #37

Closed natbredenkamp closed 1 year ago

natbredenkamp commented 2 years ago

When attempting to view the Global Settings page, it throws an error - the view 'Bootstrapper' was not found, reeling off the list of places its searched. Seems to be the DefaultShellModuleController Index method that is returning the Bootstrapper view name that is causing it to fail. This happens every time when the Global settings page is the first thing accessed after a site restart (locally), and seems to happen intermittently at other times (on DXP). It kills the site and it then needs restarting, doesn't matter if you try to load some other page afterwards.

LinusEkstrom commented 2 years ago

@vansterhant : Perhaps something that you can look into when you are back from vacation?

LinusEkstrom commented 2 years ago

Thanks for reporting Nat. Most of us working with this have been on vacation, but we'll look into this soon.

vansterhant commented 2 years ago

Nice find! This unfortunately seems to be a bug in the CMS itself (If the first request is for a module, the search for the Bootstrapper view is scoped to within the module, AND the "no view found"-result is cached...) so I can't find a (reasonable) way to solve it from the settings module.

I'm communicating with Optimizely support, to get a bug registered so that this can get fixed.

vansterhant commented 2 years ago

The bug has now been reported to Optimizely and is trackable by the id: CMS-24678

LinusEkstrom commented 2 years ago

Hi @vansterhant . I tried finding the bug mentioned above in the Optimizely bug list but I get an error that this bug does not exist. Can you verify if this is the right ID and if you can find it?

vansterhant commented 2 years ago

It may still be in triage, I received emails this week regarding follow-up questions from the dev-team on what we are trying to achieve by using ICustomView et. al

vansterhant commented 2 years ago

The bug has gotten a new id: https://world.optimizely.com/support/bug-list/bug/CMS-25276

LinusEkstrom commented 1 year ago

This bug has now been tagged as fixed and release in EPiServer.CMS.UI 12.16.0. Will evaluate if this fixes the problem once the package has been released.

LinusEkstrom commented 1 year ago

@vansterhant EPiServer.CMS.UI 12.16.0 is now available. Can you give this a test to see if we can close this issue?

vansterhant commented 1 year ago

CMS 12.16.0 solves the issue. Finally closing this.

LinusEkstrom commented 1 year ago

throwing confetti in the air :)