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
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?
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:
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