Try our conversational search powered by Generative AI!

Exception when answering assigned questions in Expert part of Relate+

Vote:
 

Hello,

We're having problems answering assigned questions in the Expert part of Relate+/EPiServer Community. It works fine if the expert isn't connected to a Forum Room but if the expert is, we get the following error message (seems like a similar problem that's been mentioned here: http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=38058&epslanguage=en):

Server Error in '/' Application.

Invalid use of read only object - Clone() it before making modifications.

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: EPiServer.Common.Exceptions.FrameworkException: Invalid use of read only object - Clone() it before making modifications.

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:

[FrameworkException: Invalid use of read only object - Clone() it before making modifications.]
EPiServer.Common.EntityValidator.ValidateIsNotReadOnly(ICloneable cloneable) +111
EPiServer.Common.Data.FrameworkFactoryBase.UpdateEntity(IFrameworkEntity entity, Int32 id, Boolean add) +117
EPiServer.Common.Data.FrameworkFactoryBase.UpdateEntity(IFrameworkEntity entity) +63
EPiServer.Community.Expert.Data.ExpertFactory.UpdateAssignedQuestion(AssignedQuestion assignedQuestion) +282

[FrameworkException: Could not update assigned question with ID 24.]
EPiServer.Community.Expert.Data.ExpertFactory.UpdateAssignedQuestion(AssignedQuestion assignedQuestion) +534
EPiServer.Community.Expert.Data.ExpertFactory.SetAssignedQuestionTopic(AssignedQuestion aq) +792
EPiServer.Community.Expert.Data.ExpertFactory.SetAssignedQuestionForumEntities(AssignedQuestion aq) +23
EPiServer.Community.Expert.Data.ExpertFactory.AddAnswer(Answer answer) +541

[FrameworkException: Could not add answer.]
EPiServer.Community.Expert.Data.ExpertFactory.AddAnswer(Answer answer) +712
EPiServer.Community.Expert.ExpertHandler.AddAnswer(Answer answer) +37
EPiServer.Community.Web.Administration.AnswerInfoControl.buttonSave_Click(Object sender, EventArgs e) +925
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +103
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +32
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3103



Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.4049

 

The problem also seem to appear when we assign a certain forum room to an expert, and when removing this assignment. Is this a known bug for which there is a hotfix?

Best regards

Martin

#38138
Mar 31, 2010 9:36
This thread is locked and should be used for reference only. Please use the Legacy add-ons 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.