Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.

 

Cannot set Changed state to false after updating the Forum Topic

Vote:
 

I have tried to update the forum topic as below,

EPiServer.Community.Forum.Topic topic = GetTopic();
EPiServer.Community.Forum.Topic topicClone = topic.CreateWritableClone() as EPiServer.Community.Forum.Topic;

UpdateForumTopic(topicClone);// Edit the forum topic (e.g. change body text etc.) 

topicClone.Changed = topic.Changed; // This could not be done as there is no setter
EPiServer.Community.Forum.ForumHandler.Instance.UpdateTopic(topicClone); // Updating the forum topic will set the Changed state to true

However, I need to preserve the Changed state as it is even after updating the forum topic. Is there a way to do that?

Additional info on my setup:

EPiServer.Community -  version=9.0.0
EPiServer.CommonFramework - version=9.0.1

#206083
Edited, Aug 02, 2019 8:33
This thread is locked and should be used for reference only.
* 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.