Try our conversational search powered by Generative AI!

Comapring Versions

Vote:
 

Hi I am using CMS 6 and at the moment when we click on compare the only option that displays anything is the property changes.  Both of the other two options dont display anything.  has anyone else had this problem? Anyone know of any solutions?

Thanks

Gwen

#43600
Sep 20, 2010 11:34
Vote:
 

Don't display anything? So no error page or anything like that? We discovered a bug that causes the compare mode to crash with an exception if the viewed page uses Session and the compare mode is differences. The other two modes (side-by-side and property changes) work though.

#43604
Sep 20, 2010 12:19
Vote:
 

no it doesn't display anything.  In the event viewer i get the following error 

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 20/09/2010 11:27:57

Event time (UTC): 20/09/2010 10:27:57

Event ID: ef5bc06ffad148089bf09a491b14c71e

Event sequence: 90

Event occurrence: 2

Event detail code: 0

 

Application information:

Application domain: 28d3bad1-9-129294519645576375

Trust level: Full

Application Virtual Path: /

Application Path: C:\_sourcecode\EPiServer\MainInfrastructure\JR.EPI.OAPMain\JR.EPI.OAPMain.WebForms\

Machine name: WK003318

 

Process information:

Process ID: 8204

Process name: WebDev.WebServer.exe

Account name: LIVE01\gwen curtin

 

Exception information:

Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.

 

Request information:

Request URL: http://localhost:6667/EPi/CMS/edit/PageCompare/AjaxCallPageCompare.aspx?first=2287_2480&second=2287_2292&panel=PageComparePanel&firstVersionNumber=2&secondVersionNumber=1

Request path: /EPi/CMS/edit/PageCompare/AjaxCallPageCompare.aspx

User host address: 127.0.0.1

User: gwen curtin

Is authenticated: True

Authentication Type: Forms

Thread account name: LIVE01\gwen curtin

 

Thread information:

Thread ID: 47

Thread account name: LIVE01\gwen curtin

Is impersonating: False

Stack trace: at EPiServer.UI.Edit.PageCompare.AjaxCallPageCompare.OnPreInit(EventArgs e)

at System.Web.UI.Page.PerformPreInit()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Custom event details:

#43606
Sep 20, 2010 12:59
Vote:
 

After further investigation we (I work with Gwen) have worked out that this is caused by turning off the context menu in plug-in manager.

We want to turn off the context menu as a shortcut to disable quick edit.

Any ideas?

#43620
Sep 20, 2010 16:15
Vote:
 
#43988
Sep 29, 2010 9:38
Vote:
 

Doh, forgot that EPiServer has built-in support for this :-)

http://sdk.episerver.com/library/cms5/Developers%20Guide/How%20To/Add%20and%20Remove%20Right-click%20Menu%20Items.htm

(applies to CMS 5 but should be similar in CMS 6)

#43989
Edited, Sep 29, 2010 9:41
Vote:
 

Hi Arild,

to use the built in support would we need to put this code on each page type?

#43990
Sep 29, 2010 9:44
Vote:
 

You could put in a base class that your pages inherit from, or perhaps in Global.asax.cs, to avoid having to put the code on every page type.

#43991
Sep 29, 2010 9:47
Vote:
 

great advice thanks Arild!

#43992
Sep 29, 2010 9:47
Vote:
 

Hope it helps. Feel free to close this thread by marking my reply as Answer.

#43993
Sep 29, 2010 9:52
Vote:
 

worked perfectly thank you

#43994
Sep 29, 2010 10:32
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.