Ticket #420 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Since update to 1495, mark-read-to-here blows up firefox

Reported by: Dis Owned by: mdodoo
Priority: normal Milestone: Gregarius 0.5.5
Component: BUGS Version:
Severity: normal Keywords:
Cc:

Description

The auto-updating counts are nice (folder counts coming soon?) but whenever I use mark-X-to-here it cause firefox to begin eating memory until it runs out and dies.

(I saw that the update changed the item status-change code, I just don't have time right now to update mark-read-to-here. If I get it before anyone else, I'll attach a patch.)

Attachments

markreadtohere.diff (422 bytes) - added by mdodoo 2 years ago.

Change History

Changed 2 years ago by mdodoo

  • owner changed from mbonetti to mdodoo
  • status changed from new to assigned

Changed 2 years ago by mdodoo

Changed 2 years ago by mdodoo

  • status changed from assigned to closed
  • resolution set to fixed

Turns out the infinite loop (and hence crash) was caused by a variable collision between the plugin and the UnreadCnt function in ajax.php (both use "i" in a loop). The attached patch causes the plugin to use "j" instead.

Note: See TracTickets for help on using tickets.