Open Bug 15281 Opened 26 years ago Updated 3 years ago

MAPIAddress returns wrong value on Cancel

Categories

(MailNews Core :: Simple MAPI, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

People

(Reporter: phil, Unassigned)

References

Details

(Keywords: helpwanted)

Subject: MAPI Address Date: Tue, 28 Sep 1999 13:22:52 -0400 From: "Robert F. Tulloch" <tultalk@ibm.net> Organization: Another Netscape Collabra Server User Newsgroups: netscape.devs-client-technical When I cancel the address dialog, the function returns SUCCESS_SUCCESS (0) and not MAPI_E_USER_ABORT (1) as the documentation indicates it should. This is a REAL problems as I am using the return value 1 to restore old setting and return value 0 to update and e-mail name and e-mail address. On cancel and return 0, the fields are updated with NULL. I realize I can test for NULL and restore but that causes an unwelcome response when the address/name are deleted from the address book and OK is clicked returning NULL's and result = 0.
Whiteboard: [HELP WANTED]
Status: NEW → ASSIGNED
Depends on: 11057
I will make sure that the implementation of MAPIAddress in 5.0 returns MAPI_E_USER_ABORT if the user cancels a dialog box as documented in the specification. http://developer.netscape.com/docs/manuals/communicator/mapisupp.htm I am not totally sure of what Robert means when he sais that an address/name is deleted from the address book from the result of the cancel unless it is something that his application does. I am going to have to investigate this further.
Keywords: helpwanted
Summary: [HELP WANTED] MAPIAddress returns wrong value on Cancel → MAPIAddress returns wrong value on Cancel
Whiteboard: [HELP WANTED]
Not much progress has been made, going to re-assign to nobody so that I am not sitting on these issues. Will probably pick up again in a month or two if they are still open issues when I have time and I can actually make some progress first.
Assignee: cwhite7 → nobody
Status: ASSIGNED → NEW
Depends on: 91702
Reassigning MAPI bugs to tiantian
Assignee: nobody → tiantian
Will revisit MAPIAddress at around the end of September this year.
reassigning to rdayal
Assignee: tiantian → rdayal
QA Contact: lchiang → nobody
No longer depends on: 11057
Product: MailNews → Core
Assignee: rdayal → nobody
QA Contact: nobody → backend
Product: Core → MailNews Core
Component: Backend → Simple MAPI
QA Contact: backend → simple-mapi
See Also: → 1521380
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.