Closed sebbASF closed 7 years ago
The problem here appears to be caused by the format of the In-reply-To header, which is:
In-Reply-To: Your message of "Mon, 26 Jun 2000 13:39:14 EST."
<v04220802b57d53b791bc@[144.92.158.196]>
This is legal according to RFC822.
The code does not normalise the IRT reference (this is possibly due to the mail parsing library).
This means the referenced mail cannot be found, causing the error. The code should also handle the error better and show a more useful message.
Note that the reply at [2] is shown at the end of the thread at [1]. However it is not shown in the thread when viewed from the list.html (overview) page. Instead it appears on a separate page on its own.
The thread starting with [1] should contain the message [2] but it does not.
When the lone message is displayed using the permalink, it has a button "Go to first email in this thread". However clicking this results in the following message:
Internal Server Error Sorry, the request hit a bit snag and errored out. The server responded with: Error!
/var/www/ponymail_asf/site/api/lib/elastic.lua:31: Backend Database returned code 400!
A similar error occurs on the main display when clicking "Or we can do some magic for you."
[1] https://lists.apache.org/thread.html/af8e8ec3289d76746788a141c5156a5f67d69630e02c8b760719d107@962044754@%3Cusers.tomcat.apache.org%3E [2] https://lists.apache.org/thread.html/fb077c1d5c7ae42753fe3dcf0f12e6672b1d86abd87681200da86a43@962061988@%3Cusers.tomcat.apache.org%3E