Closed
Bug 60783
Opened 24 years ago
Closed 24 years ago
not deleting all the news passwords & usersname when deleing a news account
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sspitzer, Assigned: sspitzer)
References
Details
Attachments
(2 files)
2.67 KB,
patch
|
Details | Diff | Splinter Review | |
2.87 KB,
patch
|
Details | Diff | Splinter Review |
we need to override it to forget the username and password for the server and
any groups on the server.
we will need to call nsMsgNewsFolder::ForgetGroupUsername(),
nsMsgNewsFolder::ForgetGroupPassword() for all folders, starting with the root
folder (for the news account) and then all the children (for the groups).
Assignee | ||
Comment 1•24 years ago
|
||
setting QA contact to nbaca.
accepting.
Status: NEW → ASSIGNED
QA Contact: esther → nbaca
Assignee | ||
Comment 2•24 years ago
|
||
as I mentioned earlier, the fix is to override ForgetPassword() for
nsNntpIncomingServer
Summary: need to override ForgetPassword() for nsNntpIncomingServer → not deleting all the news passwords & usersname when deleing a news account
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
andrew, you are a machine!
I've been away on vacation, and I just got to this bug email.
let me review your patch.
Keywords: patch
Assignee | ||
Comment 5•24 years ago
|
||
overall, a great patch.
I've made some changes to your original patch. I'll attach it for you to
review, and then I'll explain the changes I made.
adding bienvenu / mscott for the eventual super review.
Assignee | ||
Comment 6•24 years ago
|
||
Assignee | ||
Comment 7•24 years ago
|
||
as you can see, my changes are very minor.
instead of just returning on failure, I use NS_ENSURE_SUCCESS() so we'll assert
too.
also, I check the rv when forgetting the passwords and usernames.
finally, I keep track of any failures when forgetting the usernames and
passwords of the children.
something to note, this code works fine since right now all groups are direct
children of the server. if we ever add category support, this will change and
this code will need to be change to recursively remove the username / passwords
for the children of the root.
but since category support is a while off, we can just check this in and log a
bug to remind us.
one more note: this was a great patch. keep them coming, andrew!
can I get a sr=?
Assignee | ||
Comment 9•24 years ago
|
||
thanks for the review.
marking fixed.
again, excellent patch.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•24 years ago
|
||
I logged #61798 to track the category issue.
Comment 11•24 years ago
|
||
Build 2001-02-19-08: NT4
Build 2001-02-19-04: Linux RH 6.2
Build 2001-02-22-08: Mac 9.04
Verified Fixed.
- Added Poisonivy, subscribed to a secure newsgroup, posted some messages which
required a username and password. Deleted the news account, added the news
account again in the same session, selected the secure newsgroup (it returned
automatically, bug# 37454) and it prompted for a username and password, as
expected.
- Tried similar steps but exited after removing the news server the first time,
then restarted and added the news server and subscribed to the same secure
newsgroup. Again it asked for a username and password, as expected.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•