Closed Bug 126784 Opened 24 years ago Closed 24 years ago

removing site name(s) from Publish Site Settings does not remove from prefs (shows up in Publish to menu)

Categories

(SeaMonkey :: Composer, defect)

x86
Windows 95
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: sujay, Assigned: cmanske)

References

Details

Attachments

(1 file, 1 obsolete file)

using 2/20 trunk build on windows 1) launch netscape 2) launch composer 3) Publish two sites(giving it a site name, filename, username, passwd, etc..) at this point you should have two publish site names in the "Publish To" menu. 4) Now go into Edit | Publish Site settings and remove one of the sites you added. and click OK on that panel 5) Now go back in your edit window and pull down File | Publish To and notice that you still have two sites. should have only one. and just in case setting changing the Pub Site settings is only for a future instance, I also tried to Open a new blank page and I still got two site names stuck in there... I expect the site to be removed from the list.
*test*..pls ignore
Ohhh! Good catch. It only happens when you remove the "default" site. We need to (arbitrarily) select a new default site if user does that.
Status: NEW → ASSIGNED
Summary: removing site from Publish Site Settings does not remove from file menu → removing default from Publish Site Settings does not remove from prefs (shows up in Publish to menu)
Target Milestone: --- → mozilla1.0
Attached patch Fix (obsolete) — Splinter Review
We rely heavily on the concept of having a 'default publishing site', so it's important that we don't loose it accidentally like this bug does.
Blocks: 88208
Keywords: nsbeta1+
Whiteboard: FIX IN HAND,need r=,sr=
Attached patch Updated fixSplinter Review
This adds additional safety: when saving the site data, assure that the default name is the site data -- if not, use the first sitename
Attachment #70629 - Attachment is obsolete: true
Comment on attachment 70633 [details] [diff] [review] Updated fix r=mjudge Also discussed with brade, who approved the logic of the fix
Attachment #70633 - Flags: review+
Whiteboard: FIX IN HAND,need r=,sr= → FIX IN HAND,need sr=
Target Milestone: mozilla1.0 → mozilla0.9.9
changing milestone
Target Milestone: mozilla0.9.9 → mozilla1.0
I have a lot of changes to the publishing UI files that includes this fix. I'll attach all as a patch to bug 88208, so the SR can be on that patch.
But charley, if this bug is fixed due to patch in another bug, make sure you mark this bug fixed so we know when to verify it..thanks!
Comment on attachment 70633 [details] [diff] [review] Updated fix sr=kin@netscape.com But make sure you change '==' to '=' in this part of the diff: + if (siteArray.length && !defaultFound) + defaultName == siteArray[0].siteName;
Attachment #70633 - Flags: superreview+
Whiteboard: FIX IN HAND,need sr= → FIX IN HAND, reviewed
Comment on attachment 70633 [details] [diff] [review] Updated fix a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #70633 - Flags: approval+
is this bug fixed?...if so mark it RESOLVED-FIXED so we can verify it..
correcting summary
Summary: removing default from Publish Site Settings does not remove from prefs (shows up in Publish to menu) → removing site name(s) from Publish Site Settings does not remove from prefs (shows up in Publish to menu)
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: FIX IN HAND, reviewed
Publish To is gone now with 88208 landing, so this bug is moot point. however, I verified that removing site names from site settings does remove from the site name list.
Status: RESOLVED → VERIFIED
Changing: *(H) Sun -> PC, per comment 0. *(OS) Windows 3.1 -> Windows 95. (This will help on bug 165825 :-))
OS: Windows 3.1 → Windows 95
Hardware: Sun → PC
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: