Open 6TELOIV opened 1 month ago
thanks for this ;)
It's still a bit beta.
if you did this, just look for the cookie and delete it for now.
BTW: congrats to discovering this feature - it hasn't really been released yet ;)
Cool! Yeah, I found the cookie, I tested it on a local DNN installation cause I didn't wanna break prod haha!
I'm submitting a
[x] bug report [x] feature request
...about
[x] edit experience / UI [x] admin experience UI
Current Behavior / Expected Behavior
With the new polymorphism selection where you can type whatever you want, invalid values are allowed, and if there is no default (non-polymorph) view, then the user cannot restore their function without resetting their cookies.
I think the correct behavior would be to either give the default/fallback view a reserved name like
default
ornoname
, and validate before storing the cookie that the view selected is valid.Alternatively, could add some code that on error if the polymorph cookie is set, add a button to clear the cookie above/below the error.
One more option would be ensuring that the polymorph picking button is always available if the cookie is set.
Last option, change the UI for how the polymorph is selected to be an actual select/dropdown that contains only valid entries.
Instructions to Reproduce the Problem
Error: ToSic.Sxc.Engines.RenderingException: The template file '/Portals/0/2sxc/App1/Default.cshtml🎯' does not exist
Your environment