[Review Board 7.0.4] Error when creating comments on file attachments (fileAttachmentThumbnailView.ts)

3 views
Skip to first unread message

Cameron Hillman

unread,
Oct 27, 2025, 10:50:38 AMOct 27
to Review Board Development
Hi,

I'm seeing an error in the developer console when I try and add a comment to a file attachment without a Review UI (eg. a .pdf file).

The error is an "Uncaught TypeError: (intermediate value).forEach is not a function" being caused by `_processComments()` in fileAttachmentThumbnailView.ts:

When I set a pause on the method, I inspected the `this.options.comments` reference and found that it was an Object, that doesn't have a forEach method.

Have you got any advice on what I can do to resolve this? Is there something I have misconfigured?

Really appreciate your help.

Best,
Cameron

David Trowbridge

unread,
Oct 28, 2025, 1:45:11 PMOct 28
to reviewb...@googlegroups.com
Cameron,

It looks like we've got a bug there. We'll get a fix in for the next version.

David

--

---
You received this message because you are subscribed to the Google Groups "Review Board Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-d...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/reviewboard-dev/72b2e7ff-6778-45aa-b719-7bed0ddbc3e7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages