<div dir="ltr"><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">I recently unmerged a ticket using 'Set EffectiveId = id where id = ticket#<br>
</span><span style="font-family:arial,sans-serif;font-size:13px">and now one of those tickets has this as it's apparently oldest transaction<br></span><span style="font-family:arial,sans-serif;font-size:13px">"Modification of non-creatable array value attempted, subscript -1 at<br>
</span><span style="font-family:arial,sans-serif;font-size:13px">/path/to/perl/lib/perl5/HTML/</span><span style="font-family:arial,sans-serif;font-size:13px">Quoted.pm line 249". The ticket history is<br></span><span style="font-family:arial,sans-serif;font-size:13px">truncated from there onwards.</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">The other ticket is fine. I can see by examining the Transaction and<br></span><span style="font-family:arial,sans-serif;font-size:13px">Attachments tables that the content for the hurting ticket is still there<br>
</span><span style="font-family:arial,sans-serif;font-size:13px">and looks fine though I've not validated references / counts etc.</span></blockquote></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>This ended up being unbalanced HTML tags in the inbound email. Patch to rt4 to make it more tolerant fixed the issue for me (thanks Tom!):<br>
<div><br></div><div><a href="https://github.com/bestpractical/rt/compare/stable...4.0;error-handling-for-quote-extraction">https://github.com/bestpractical/rt/compare/stable...4.0;error-handling-for-quote-extraction</a><br>
</div><div><br></div><div style>ram</div><div style><br></div></div>