Unable To Edit Or Approve Comments In Community Admin UI
(Doc ID 1490498.1)
Last updated on SEPTEMBER 19, 2019
Applies to:
Oracle WebCenter Sites - Version 7.6.2 and laterInformation in this document applies to any platform.
Symptoms
In the Community Admin UI we can't edit or approve comments.
- approving a pending comment doesn't seem to do anything
- editing appears to not work unless we use the search box to find the newly edited comment, this returns the comment with the change visible. Other search routes offer the unchanged comment.
cos-service.log shows the following error:
2012-08-06 15:29:42,341 [ajp-9009-6] ERROR com.fatwire.cos.records.moderation.ModerationUtils -
com.fatwire.cos.CoSConcurrentModificationException: java.util.ConcurrentModificationException
at com.fatwire.cos.records.RecordManager.saveRecord(RecordManager.java:747)
at com.fatwire.cos.comments.model.CommentManagerImpl.saveRecord(CommentManagerImpl.java:207)
at com.fatwire.cos.comments.model.CommentManagerImpl.saveRecord(CommentManagerImpl.java:21)
at com.fatwire.cos.records.RecordManager.saveRecord(RecordManager.java:714)
at com.fatwire.cos.records.moderation.ModerationUtils.setAll(ModerationUtils.java:69)
at com.fatwire.cos.records.moderation.ModerationManagerImpl.approveAll(ModerationManagerImpl.java:144)
at com.fatwire.cos.comments.service.rest.v0.x.resources.CoSAdminResource.updateItems(CoSAdminResource.java:118)
at com.fatwire.cos.comments.service.rest.v0.x.resources.CoSAdminResource.updateItems(CoSAdminResource.java:151)
...snip...
Caused by: java.util.ConcurrentModificationException
at com.fatwire.cos.core.jpa.cmd.wem.WemSaveCommand.execute(WemSaveCommand.java:152)
at com.fatwire.cos.core.jpa.CoSEntityManager.persist(CoSEntityManager.java:227)
at com.fatwire.cos.core.jpa.CoSEntityManager.merge(CoSEntityManager.java:207)
at com.fatwire.cos.records.RecordManager$4.execute(RecordManager.java:740)
at com.fatwire.cos.core.db.CoSTx.execute(CoSTx.java:29)
at com.fatwire.cos.records.RecordManager.saveRecord(RecordManager.java:726)
... 43 more
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |