message counts not getting updated

VERIFIED FIXED in M11

Status

()

Core
RDF
P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: Bienvenu, Assigned: David Hyatt)

Tracking

Trunk
All
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
In the folder pane, message counts are not getting updated, though we are
changing the right property, as near as I can tell. Here's a stack trace deep in
the bowels of RDF...
(I'm not sure if this is a generic RDF problem, or should be filed as a
mail/news bug - feel free to change it, and let me know what I can do to help)

  XULDocumentImpl::AttributeChanged(XULDocumentImpl * const 0x028c27c0,
nsIContent * 0x0323d0f0, nsIAtom * 0x00f60b10, int -1) line 2138
  RDFElementImpl::SetAttribute(RDFElementImpl * const 0x0323d0f0, int 0, nsIAtom
* 0x00f60b10, const nsString & {...}, int 1) line 2433
  RDFGenericBuilderImpl::SynchronizeUsingTemplate(nsIContent * 0x031c6870,
nsIContent * 0x0323d0f0, RDFGenericBuilderImpl::eUpdateAction eSet,
  nsIRDFResource * 0x021c1e50, nsIRDFNode * 0x039fea50) line 1968
  RDFGenericBuilderImpl::SynchronizeUsingTemplate(nsIContent * 0x031c5390,
nsIContent * 0x0323da00, RDFGenericBuilderImpl::eUpdateAction eSet,
  nsIRDFResource * 0x021c1e50, nsIRDFNode * 0x039fea50) line 2010 + 47 bytes
  RDFGenericBuilderImpl::SynchronizeUsingTemplate(nsIContent * 0x031c5df0,
nsIContent * 0x03238f90, RDFGenericBuilderImpl::eUpdateAction eSet,
  nsIRDFResource * 0x021c1e50, nsIRDFNode * 0x039fea50) line 2010 + 47 bytes
  RDFGenericBuilderImpl::OnAssert(RDFGenericBuilderImpl * const 0x031bf5a4,
nsIRDFResource * 0x0267bc90, nsIRDFResource * 0x021c1e50, nsIRDFNode
  * 0x039fea50) line 1078 + 42 bytes
  CompositeDataSourceImpl::OnAssert(CompositeDataSourceImpl * const 0x031bf554,
nsIRDFResource * 0x0267bc90, nsIRDFResource * 0x021c1e50,
  nsIRDFNode * 0x039fea50) line 1243
  nsMsgRDFDataSource::assertEnumFunc(nsISupports * 0x031bf554, void *
0x0012fa44) line 378
  nsSupportsArray::EnumerateForwards(nsSupportsArray * const 0x026789a0, int
(nsISupports *, void *)* 0x01b37ca0
  nsMsgRDFDataSource::assertEnumFunc(nsISupports *, void *), void * 0x0012fa44)
line 352 + 20 bytes
  nsMsgRDFDataSource::NotifyObservers(nsIRDFResource * 0x0267bc90,
nsIRDFResource * 0x021c1e50, nsIRDFNode * 0x039fea50, int 1) line 363
  nsMsgFolderDataSource::NotifyPropertyChanged(nsIRDFResource * 0x0267bc90,
nsIRDFResource * 0x021c1e50, const char * 0x039feca0, const char *
  0x039fec50) line 766

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M11
(Reporter)

Comment 1

19 years ago
Chris, I wouldn't mind pitching in and looking some more at this one...Do you
mind? Do you have any advice?

Comment 2

19 years ago
from you stack trace, it looks like the info is getting propogated into layout
correctly. at which point, the tree widget may be dropping it on the floor. if
you can, grab hyatt and make him sit in your cube to fix this :-)

addressbook has a very similar bug that i suspect is a dup.
(Reporter)

Updated

19 years ago
Blocks: 14779
(Reporter)

Updated

19 years ago
Assignee: waterson → hyatt
Status: ASSIGNED → NEW
(Reporter)

Comment 3

19 years ago
Hyatt has checked in a fix. I'm going to try it, and if it works, mark it fixed
for him.
(Assignee)

Comment 4

19 years ago
Bad news.  It did not work on my machine.  My method never even gets called,
which makes me think there may also be a bug in RDF or something.
(Reporter)

Comment 5

19 years ago
Bummer, I'll try it out on my machine.
(Assignee)

Comment 6

19 years ago
Find out what the content node is that's being passed in on the
AttributeChanged.  It had better be a <treecell>.  If it isn't, RDF is to blame.
(Reporter)

Comment 7

19 years ago
You may be seeing an artifact of a performance change Scott and I made. If you
were expecting to get called when opening the folder, you won't. But marking a
message read or unread should change the counts.
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 8

19 years ago
Sweeeet! it works!
(Reporter)

Comment 9

19 years ago
Awesome! Thanks a lot, Dave. Scott or I will fix the problem updating the
message counts after folder loading.

Comment 10

19 years ago
adding myself to cc: list.

Updated

19 years ago
QA Contact: tever → lchiang

Comment 11

19 years ago
Lisa, can your team verify this? Thanks.

Updated

19 years ago
QA Contact: lchiang → chuang

Comment 12

19 years ago
candice has kindly offered to help verify bugs.

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 13

19 years ago
Verified on 1999-12-13-09-M12 Win32 build, 1999-12-13-08-M12 Mac build and
1999-12-13-08-M12 Linux build.  Message counts are updated when opening folder,
read message, delete message, mark read/unread.
You need to log in before you can comment on or make changes to this bug.