This is fixed now, along with another bug where audits appear greyed out.
Kristina's answer there has a great description of the underlying cause. Basically a new feature was re-initializing an object, which set the comment functionality to "passive" i.e. read-only. This meant comments.extendCommentUi()
did not exist, which caused the exception reported on that post.
For this bug specifically, that also meant comments.init()
did not reset any "active" functionality, such as adding comments. When we see an audit, we overwrite some functions to show the "This is an audit" error. Previously those were reset with init()
when the next task was loaded, but because of this bug, the overwrites stayed in place, so you would always see "This is an audit" on all tasks until the page was refreshed.
Very tricky one to track down! Made much easier with the details shared in these posts, so thank you!