Forms editing mode not opening on certain page types - 7.1

Vote:
 

Hey all,

I've been noticing some strange behavior on specific page types added to my epi instance.  This only happens on a certain few page types (out of the plethora we have) - when loading a page in edit mode, the page loads fine, but upon clicking the forms editing mode button to load up the panel that allows you to edit the page properties, it sits there with the little blue lines loading icon and does not ever open the forms editing panel.  Again, this works on other page types but fails on specific ones.  Anybody experience this, and if so, how did you fix it?  Is there some conflict with my page type and or data?

Thanks

Mike

#70468
Apr 21, 2013 16:10
Vote:
 

This is the error i receive (I added the client script debugging addon) when i hit the forms edit button on these "broken" page types:

TypeError {} "TypeError: number is not a function at _627 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:222882) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:30442 at _c6 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:11357) at _36 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:12968) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:7406 at _37 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:13058) at _16 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:7391) at req (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:555) at dojo.declare.defaultWidgetInstantiator (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:223085) at Object.instantiateWidgetFunction (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:30442) ---------------------------------------- rejected at _2ef (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:74794) at _2e9 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:74405) at Promise.then._2f6.then (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:76047) at Function.when (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:80790) at dojo.declare._createInternal (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:221698) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:221167) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:30442 at Object._16e.map (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:33284) at dojo.declare._createWidgets (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:221084) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:220661) ---------------------------------------- Error at Promise.then._2f6.then (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:75966) at Function.when (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:80790) at dojo.declare._createInternal (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:221698) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:221167) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:30442 at Object._16e.map (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:33284) at dojo.declare._createWidgets (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:221084) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/epi/shell/widgets.js:2:220661) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:30442 at _c6 (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:15:11357)"

#70469
Apr 21, 2013 17:39
Vote:
 

Here's something else, appears as a similar but different stack trace:

TypeError {} "TypeError: number is not a function at constructorExecutor (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:377:30) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55 at runFactory (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:1107:43) at execModule (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:1236:5) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:802:7 at guardCheckComplete (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:1251:5) at contextRequire (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:801:6) at req (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:137:11) at dojo.declare.defaultWidgetInstantiator (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:392:17) at Object.instantiateWidgetFunction (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55) ---------------------------------------- rejected at signalDeferred (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8286:15) at signalListener (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8257:5) at Promise.then.promise.then (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8460:5) at Function.when (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26) at dojo.declare._createInternal (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:293:27) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:250:42) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55 at Object.array.map (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3650:15) at dojo.declare._createWidgets (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:247:34) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:204:26) ---------------------------------------- Error at Promise.then.promise.then (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8454:24) at Function.when (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:8968:26) at dojo.declare._createInternal (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:293:27) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:250:42) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55 at Object.array.map (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3650:15) at dojo.declare._createWidgets (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:247:34) at null.<anonymous> (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/EPi/shell/widget/WidgetFactory.js:204:26) at http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:3135:55 at runFactory (http://phoenixcms.bbb.local/episerver/Shell/2.0.86/ClientResources/dtk/dojo/dojo.js:1107:43)"

#70470
Apr 21, 2013 18:04
Vote:
 

I'm going to go ahead and say that I noticed in my editordescriptor classes (specifically for dropdowns)

I was referencing ClientEditingClass = "epi.cms.contentediting.editors.SelectionEditor";

which i switched to 

ClientEditingClass = "epi-cms.contentediting.editors.SelectionEditor";

 

Appears to work for now - will update if anything breaks.

#70471
Apr 21, 2013 18:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.