Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1487080 closed Bugs (duplicate)

Still displaying new message count in folder panel when unread message is moved.

Reported by: akn Owned by:
Priority: 4 Milestone: 0.5-beta
Component: User Interface Version: 0.4.2
Severity: normal Keywords: unread messages count folder panel
Cc:

Description

  1. Disable message preview.
  2. Mark a message as unread.
  3. Move it into another folder.
  4. Open this folder and delete the unread message.

-> The message is still displayed as new (1) in the folder panel until you refresh the whole page by clicking on the roundcube logo.

Change History (9)

comment:1 Changed 3 years ago by akn

...And another way:

Click on any folder with messages within, except inbox. Mark some messages as read and unmark them again. The (1) in the folder panel stays.

comment:2 Changed 3 years ago by alec

  • Milestone changed from later to 0.5-beta

Works for me. Any errors in log? Do you have caching enabled? What PHP version, what IMAP server? Did you tried with default skin and all plugins disabled? Didi you tried with different browsers? Finally, enable imap_debug and attach the log here. Also you could enable console and check what is returned in ajax responses.

comment:3 Changed 3 years ago by akn

What I can say so far: Caching disabled, PHP-Version 5.2.9, default skin with all plugins disabled. Same in FF 3.6.11 and IE 7.

comment:4 Changed 3 years ago by akn

Error in log, many times:

[25-Okt-2010 20:11:25] PHP Warning:  Cannot use a scalar value as an array in /var/www/html/web112/html/webmail/program/steps/mail/func.inc on line 580

This is the corresponding line in func.inc:

$_SESSION['unseen_count'][$mbox_name] = $unseen;

comment:5 Changed 3 years ago by akn

There are other warnings as well:

[25-Okt-2010 20:35:09] PHP Warning:  Cannot use a scalar value as an array in /var/www/html/web112/html/webmail/program/steps/mail/move_del.inc on line 110
[25-Okt-2010 20:35:49] PHP Warning:  Cannot use a scalar value as an array in /var/www/html/web112/html/webmail/program/steps/mail/getunread.inc on line 39

comment:6 Changed 3 years ago by akn

Solution: Changing some options in my confixx php settings to standard values solved the problem.

comment:7 Changed 3 years ago by alec

  • Resolution set to duplicate
  • Status changed from new to closed

So, this is a duplicate of #1487066. We'd happy to know what settings did you changed or how config looks now.

comment:8 Changed 3 years ago by akn

I've changed all of these options to standard setting. Unfortunately I can not determine if it's on or off for each setting.

PHP call_time_pass_reference
PHP url_fopen
PHP register_long_arrays
PHP magic_quotes_gpc
PHP safe_mode
PHP register_globals
WebServer mod_rewrite

comment:9 Changed 3 years ago by snyfir

I have the same issue.
my config php is :

PHP call_time_pass_reference : on
PHP url_fopen : on
PHP register_long_arrays : on
PHP magic_quotes_gpc : off
PHP safe_mode : off

I don't know what change.

Note: See TracTickets for help on using tickets.