Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Workflow throws exception when Publish button is clicked View modes: 
User avatar
Member
Member
Sergio.Rodriguez-encorebusiness - 3/9/2009 2:15:02 PM
   
Workflow throws exception when Publish button is clicked
Hi everyone,

I have implemented a simple workflow scheme on my company's site.
I correctly followed the instructions on the Dev. guide to set up workflow, created 2 user roles (editors and publishers) and added them to the Edit and Publish stages of the workflow.

When I edit a page in CMS Desk, and I click the Publish button, Kentico trhows the exception bellow, any advice on this?

Thank you,

Sergio Eliot.
Developer, Encore Business Solutions.


Server Error in '/' Application.
--------------------------------------------------------------------------------

[CMSAbstractEditableWebPart.LoadContent]: This method must be overriden by the iherited class.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: [CMSAbstractEditableWebPart.LoadContent]: This method must be overriden by the iherited class.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[Exception: [CMSAbstractEditableWebPart.LoadContent]: This method must be overriden by the iherited class.]
CMS.PortalControls.CMSAbstractEditableWebPart.LoadContent(String content, Boolean forceReload) +46
CMS.PortalControls.CMSWebPartZone.LoadRegionsContent() +296
CMS.PortalControls.CMSAbstractLayout.LoadRegionsContent() +132
CMS.PortalControls.CMSPagePlaceholder.LoadRegionsContent() +37
CMS.PortalControls.CMSPagePlaceholder.LoadRegionsContent() +188
CMS.PortalControls.CMSPortalManager.LoadRegionsContent() +163
CMS.PortalControls.CMSPortalManager.btnApprove_Click(Object sender, EventArgs e) +125
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746


User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 3/9/2009 2:42:07 PM
   
RE:Workflow throws exception when Publish button is clicked
Hi,

Please note that there had been some issues regarding this error resolved in version 2.3a.

If you don't use your own webpart (where you need to override the mentioned method), then the upgrade is probably the only solution.
You can find upgrade packages and instructions at http://www.kentico.com/Download/Upgrades.aspx
Anyway, I'd recommend upgrading to the latest (4.0) version if possible. Please note you'll need to go through all the individual upgrade steps in this case.

Thank you,

Best Regards,
Miroslav Remias