Sunday, 15 August 2010

asp.net mvc 3 - Ghost of Dead Sitefinity MVC Widget Controller Haunts Me -



asp.net mvc 3 - Ghost of Dead Sitefinity MVC Widget Controller Haunts Me -

we've adopted sitefinity , have begun creating mvc widgets. overall has been working advertised. then, after having tested new widget, realized named wrong! changed controller name mywidgletcontroller mywidgetcontroller. after making alter began getting exception "the controller name 'mysitefinityapp.mvc.controllers.mywidgletcontroller' cannot resolved". scratch head. build...again. still same problem. recycle app-pool. same problem.

here controller i'm working (names have been changed protect identity of widgets involved):

[controllertoolboxitem(name = "mywidget", title = "my widget", sectionname = "my custom widget section")] public class mywidgetcontroller : controller { public actionresult index() { homecoming view("default"); } }

question: why sitefinity still looking mywidgletcontroller when no longer exists?

it turns our sitefinity persists name of controller db. if run problem can find undead controller here:

select top 10 * sf_control_properties name = 'controllername'

ugh. horrific. sitefinity, should ashamed.

asp.net-mvc-3 sitefinity-5

No comments:

Post a Comment