Subj : MsgBase get_all_msg_headers issue
To : Nightfox
From : Digital Man
Date : Wed Mar 13 2019 04:41 pm
Re: MsgBase get_all_msg_headers issue
By: Nightfox to Digital Man on Wed Mar 13 2019 01:49 pm
> Hi DM,
>
> I've had a couple people mention to me an issue with my message reader when
> they try to up/downvote with it, and the line where it's reporting an issue
> is calling get_all_msg_headers() with a MsgBase object:
>
> var tmpHdrs = msgbase.get_all_msg_headers();
>
> This is the error they're seeing:
> !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 14211: Error: index read
> (10710) failed
>
> Do you know what might cause that error when calling MsgBase's
> get_all_msg_headers() method?
It should be fixed now. I was able to repro by just calling
msgbase.get_all_msg_headers() twice in a row (the second attempt failed with
the same/similar error).