<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Another JS error during mailbox loading</title> 
  <pubDate>Mon, 06 Apr 2026 04:03:03 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9769</link> 
  <atom:link rel="self" type="application/rss+xml" title="Another JS error during mailbox loading" href="https://bugs.horde.org/ticket/9769/rss" /> 
  <description>Another JS error during mailbox loading</description> 
 
   
   
  <item> 
   <title>onException #&lt;Hash:{&#039;message&#039;: &#039;Object  has no method \&#039;upda</title> 
   <description>onException #&lt;Hash:{&#039;message&#039;: &#039;Object  has no method \&#039;update\&#039;&#039;, &#039;stack&#039;: &#039;TypeError: Object  has no method \&#039;update\&#039;\n    at klass.&lt;anonymous&gt; (http://neo.wg.de/headhorde/imp/js/viewport.js:1516:54)\n    at http://neo.wg.de/headhorde/js/prototype.js:825:18\n    at klass._each (http://neo.wg.de/headhorde/js/prototype.js:1237:7)\n    at klass.each (http://neo.wg.de/headhorde/js/prototype.js:824:12)\n    at klass.update (http://neo.wg.de/headhorde/imp/js/viewport.js:1508:20)\n    at klass._ajaxResponse (http://neo.wg.de/headhorde/imp/js/viewport.js:863:16)\n    at klass.parseJSONResponse (http://neo.wg.de/headhorde/imp/js/viewport.js:844:18)\n    at Object.onDoActionComplete (http://neo.wg.de/headhorde/imp/js/dimpbase.js:3481:27)\n    at Object.doActionComplete (http://neo.wg.de/headhorde/imp/js/dimpcore.js:210:18)\n    at http://neo.wg.de/headhorde/imp/js/dimpbase.js:547:26&#039;, &#039;type&#039;: &#039;undefined_method&#039;, &#039;arguments&#039;: [&#039;update&#039;, []], &#039;name&#039;: &#039;TypeError&#039;}&gt;

This should have been the response that caused the error:

/*-secure-{&quot;response&quot;:{&quot;ViewPort&quot;:{&quot;cacheid&quot;:&quot;V1233013246|U75950|M13|9|0&quot;,&quot;data&quot;:{&quot;75937&quot;:{&quot;imapuid&quot;:75937,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\answered&quot;,&quot;\\seen&quot;,&quot;attach&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;10 KB&quot;,&quot;date&quot;:&quot;16.03.2011&quot;,&quot;from&quot;:&quot;Martin Andersen&quot;,&quot;subject&quot;:&quot;[mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75938&quot;:{&quot;imapuid&quot;:75938,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;,&quot;attach&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;24 KB&quot;,&quot;date&quot;:&quot;21.03.2011&quot;,&quot;from&quot;:&quot;An: mythtv-users@mythtv.org&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75940&quot;:{&quot;imapuid&quot;:75940,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;6 KB&quot;,&quot;date&quot;:&quot;21.03.2011&quot;,&quot;from&quot;:&quot;Paul Gardiner&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75939&quot;:{&quot;imapuid&quot;:75939,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;5 KB&quot;,&quot;date&quot;:&quot;21.03.2011&quot;,&quot;from&quot;:&quot;Duncan Brown&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75941&quot;:{&quot;imapuid&quot;:75941,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;8 KB&quot;,&quot;date&quot;:&quot;22.03.2011&quot;,&quot;from&quot;:&quot;Johnny Walker&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75944&quot;:{&quot;imapuid&quot;:75944,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;6 KB&quot;,&quot;date&quot;:&quot;22.03.2011&quot;,&quot;from&quot;:&quot;Martin Andersen&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75945&quot;:{&quot;imapuid&quot;:75945,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;,&quot;attach&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;7 KB&quot;,&quot;date&quot;:&quot;22.03.2011&quot;,&quot;from&quot;:&quot;Brian J. Murrell&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Performance issue on 0.24-fixes - Playback stalls when a recording starts\/ends&quot;,&quot;listmsg&quot;:1},&quot;75947&quot;:{&quot;imapuid&quot;:75947,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;,&quot;attach&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;11 KB&quot;,&quot;date&quot;:&quot;29.03.2011&quot;,&quot;from&quot;:&quot;Kenneth Emerson&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Playback problem -- random short pauses&quot;,&quot;listmsg&quot;:1},&quot;75948&quot;:{&quot;imapuid&quot;:75948,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;5 KB&quot;,&quot;date&quot;:&quot;29.03.2011&quot;,&quot;from&quot;:&quot;Jean-Yves Avenard&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Playback problem -- random short pauses&quot;,&quot;listmsg&quot;:1},&quot;75949&quot;:{&quot;imapuid&quot;:75949,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;5 KB&quot;,&quot;date&quot;:&quot;29.03.2011&quot;,&quot;from&quot;:&quot;Kenni Lund&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Playback problem -- random short pauses&quot;,&quot;listmsg&quot;:1},&quot;75946&quot;:{&quot;imapuid&quot;:75946,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;5 KB&quot;,&quot;date&quot;:&quot;30.03.2011&quot;,&quot;from&quot;:&quot;Jean-Yves Avenard&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Playback problem -- random short pauses&quot;,&quot;listmsg&quot;:1},&quot;75943&quot;:{&quot;imapuid&quot;:75943,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;7 KB&quot;,&quot;date&quot;:&quot;30.03.2011&quot;,&quot;from&quot;:&quot;Michael Drons&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Playback problem -- random short pauses&quot;,&quot;listmsg&quot;:1},&quot;75942&quot;:{&quot;imapuid&quot;:75942,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;flag&quot;:[&quot;\\seen&quot;],&quot;draft&quot;:1,&quot;size&quot;:&quot;5 KB&quot;,&quot;date&quot;:&quot;30.03.2011&quot;,&quot;from&quot;:&quot;Josu Lazkano&quot;,&quot;subject&quot;:&quot;Re: [mythtv-users] Playback problem -- random short pauses&quot;,&quot;listmsg&quot;:1}},&quot;metadata&quot;:{&quot;readonly&quot;:0,&quot;unseen&quot;:0,&quot;thread&quot;:{&quot;75937&quot;:&quot;&quot;,&quot;75938&quot;:&quot;2&quot;,&quot;75940&quot;:&quot;14&quot;,&quot;75939&quot;:&quot;2&quot;,&quot;75941&quot;:&quot;4&quot;,&quot;75944&quot;:&quot;04&quot;,&quot;75945&quot;:&quot;004&quot;,&quot;75947&quot;:&quot;&quot;,&quot;75948&quot;:&quot;4&quot;,&quot;75949&quot;:&quot;04&quot;,&quot;75946&quot;:&quot;004&quot;,&quot;75943&quot;:&quot;0004&quot;,&quot;75942&quot;:&quot;00004&quot;}},&quot;rowlist&quot;:{&quot;75937&quot;:1,&quot;75938&quot;:2,&quot;75940&quot;:3,&quot;75939&quot;:4,&quot;75941&quot;:5,&quot;75944&quot;:6,&quot;75945&quot;:7,&quot;75947&quot;:8,&quot;75948&quot;:9,&quot;75949&quot;:10,&quot;75946&quot;:11,&quot;75943&quot;:12,&quot;75942&quot;:13},&quot;totalrows&quot;:13,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;requestid&quot;:617,&quot;update&quot;:1}}}*/

That was the viewPort request:

view:INBOX.Mailinglisten.MythTV
cacheid:V1233013246|U75950|M-57|9|0
requestid:617
slice:1:93</description> 
   <pubDate>Fri, 01 Apr 2011 10:05:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9769#t62958</link> 
  </item> 
   
  <item> 
   <title>And for completeness, the deleteMessages request and respons</title> 
   <description>And for completeness, the deleteMessages request and response right before:


view:INBOX.Mailinglisten.MythTV
cacheid:V1233013246|U75950|M83|9|0
slice:18:109
cache:{26}INBOX.Mailinglisten.MythTV75867:75949
uid:{26}INBOX.Mailinglisten.MythTV75867:75936


/*-secure-{&quot;response&quot;:{&quot;deleted&quot;:{&quot;mbox&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;uids&quot;:&quot;{26}INBOX.Mailinglisten.MythTV75867:75936&quot;,&quot;remove&quot;:1},&quot;ViewPort&quot;:{&quot;cacheid&quot;:&quot;V1233013246|U75950|M-57|9|0&quot;,&quot;data&quot;:[],&quot;metadata&quot;:{&quot;readonly&quot;:0,&quot;unseen&quot;:0,&quot;thread&quot;:[]},&quot;rowlist&quot;:[],&quot;totalrows&quot;:13,&quot;view&quot;:&quot;INBOX.Mailinglisten.MythTV&quot;,&quot;update&quot;:1,&quot;disappear&quot;:[75867,75868,75869,75870,75871,75872,75873,75874,75875,75876,75877,75878,75879,75880,75881,75882,75883,75884,75885,75886,75887,75888,75889,75890,75891,75892,75893,75894,75895,75896,75897,75898,75899,75900,75901,75902,75903,75904,75905,75906,75907,75908,75909,75910,75911,75912,75913,75914,75915,75916,75917,75918,75919,75920,75921,75922,75923,75924,75925,75926,75927,75928,75929,75930,75931,75932,75933,75934,75935,75936,75937,75938,75939,75940,75941,75942,75943,75944,75945,75946,75947,75948,75949]}}}*/</description> 
   <pubDate>Fri, 01 Apr 2011 10:07:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9769#t62959</link> 
  </item> 
   
  <item> 
   <title>Would you be happening to use Cyrus also, with CONDSTORE ena</title> 
   <description>Would you be happening to use Cyrus also, with CONDSTORE enabled but MODSEQs disabled (e.g. Bug #9796)?  Because this simply should not happen:

&quot;cacheid&quot;:&quot;V1233013246|U75950|M-57|9|0&quot;

That is saying that the status return for the mailbox is reporting -57 messages.  I can&#039;t even begin to reproduce this.

That being said, the error reported is because the thread data was returned as an empty array which was converted by json_encode into an array.  However, viewport is expecting this to be a hash.  Thus, the solution is to always cast the thread return as a a hash.

I&#039;ll postpone committing this until the releases are finished.</description> 
   <pubDate>Tue, 05 Apr 2011 23:06:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9769#t63196</link> 
  </item> 
   
  <item> 
   <title>&gt; Would you be happening to use Cyrus also, with CONDSTORE e</title> 
   <description>&gt; Would you be happening to use Cyrus also, with CONDSTORE enabled but 
&gt; MODSEQs disabled (e.g. Bug #9796)?  Because this simply should not 
&gt; happen:

No, at least I don&#039;t find any occurence of either of those in the imap log.</description> 
   <pubDate>Tue, 05 Apr 2011 23:13:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9769#t63198</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9769: M</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9769: Make sure thread value is always an object

 1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/c6d446a0999440b566fc7d4f6ef443d4b6b4d430</description> 
   <pubDate>Wed, 06 Apr 2011 07:51:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9769#t63203</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
