The changes introduced in
MNT-15679 are causing invalid entries to be posted to the activity feed. When a comment is made outside of a site (My Files, Shared Files, Repository, 3rd Party add-ons (Aikau Components, Salesforce Connector, etc) an entry is made to the activity feed that reports that something has occurred to a document in @@NULL@.
When the refactoring of the comments web scripts was made it removed a null/empty string check that would have protected entries from being made to the activity feed that is made outside of sites.
I do like that we can now see activity on content outside of the site structures but the code will need to be made more robust to know if it was made in a site or one of the several other locations where the comment functionality is supported.
Steps to reproduce:
1. Add a document to Shared Files.
2. Add a comment to the document added in Shared Files.
3. View the Activity feed to see an entry about the comment activity.
In 4.2.6, 5.0.4, 5.1.1, 5.2 EA: An entry stating that your user made a comment on the document name.