Details
Description
Events are not generated when creating or updating comments. We get a create and update event on creation of a comments section, but these are actually 'item' event refs. There should be 'comment' event refs generated when any user submits a comment to any comment section.
When we create a comments section, we effectively get two events (lessonbuilder.create and lessonbuilder.update), with a ref as follows:
/lessonbuilder/item/<itemID>
Where the itemID is the ID of the comments section 'item'. When any user posts a comment to a comments section, there should be a lessonbuilder.create with an event ref like the following:
/lessonbuilder/comment/<commentID>
Which would allow interested parties to resolve the author, the time of posting the comment, the page hierarchy, etc. However, it seems the only time a comment event ref is generated is on deletion of a comment (lessonbuilder.delete).
This ticket will implement generation of create and update events for comments.