Closed Bug 507884 Opened 17 years ago Closed 17 years ago

Remove/fix references to the old nsIPasswordManager in publishprefs.js (Composer)

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0b2

People

(Reporter: mcsmurf, Assigned: mcsmurf)

Details

Attachments

(1 file, 2 obsolete files)

The Composer UI code still tries to use the old password manager, see http://hg.mozilla.org/comm-central/annotate/87e1c230dc9c/editor/ui/composer/content/publishprefs.js#l859, this should be fixed as the code currently can break things like the Publish dialog not automatically closing anymore.
Attached patch Patch (obsolete) — — Splinter Review
Not sure if this patch is complete yet as the Publish dialog seems to have another bug, too (it does not store the "Site Name" and all settings associated with it?). So this just replaces nsIPasswordManager with nsILoginManager, basically untested.
Attached patch Patch (obsolete) — — Splinter Review
This one works fine. Need to check if this is what we want because this way we can only support one user/password combination per server as far as I see this.
Assignee: nobody → bugzilla
Attachment #392136 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Comment on attachment 392151 [details] [diff] [review] Patch As far as I know you're a peer for this code :)
Attachment #392151 - Flags: review?(timeless)
Comment on attachment 392151 [details] [diff] [review] Patch whitespace at the end is wrong :/
Attachment #392151 - Flags: review?(timeless) → review+
Attached patch Patch — — Splinter Review
Fixes whitespace, now also allows multiple users per server when using ftp by storing ftp://user@host in the password manager.
Attachment #392151 - Attachment is obsolete: true
Attachment #392263 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0b1
Target Milestone: seamonkey2.0b1 → seamonkey2.0b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: