Closed
Bug 140959
Opened 22 years ago
Closed 22 years ago
Browse button does not work after using it second time
Categories
(SeaMonkey :: Composer, defect)
SeaMonkey
Composer
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: dslmichael, Assigned: cmanske)
References
Details
(Keywords: regression, Whiteboard: [adt2 RTM][fixed in branch],custrtm-)
Attachments
(1 file, 1 obsolete file)
1.48 KB,
patch
|
Brade
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
If you publish via FTP without filling in the "HTTP address to browse to:" field, and then click on the Browse button, you will see an about:blank page. Steps to reproduce: 1. Launch Composer 2. Type some text 3. Publish the page via FTP without filling in the "HTTP address to browse to:" field. 4. Click on the Browse button on the toolbar. Actual results: Blank page displayed, with about:blank in the URL bar. Expected results: I would expect that the page I just created would be published. Reproduced on the 04-29 trunk. 04-28 1.0.0 branch appears to be working fine.
Assignee | ||
Comment 1•22 years ago
|
||
I can't reproduce this. I'm wondering if the page actually published correctly. Where are you publishing to? What is the url of the page after you publish? After publishing, look in "Format, Page Title and Properties" to view the url.
Reporter | ||
Comment 2•22 years ago
|
||
Yes, the page is publishing fine. If I go into the browser, and manually navigate to the page, it is there. The URL of the page after publish is ftp://user1@poochie.office.aol.com/sites/index.html. Which is exactly what I would expect it to be.
Assignee | ||
Comment 3•22 years ago
|
||
When you published, was your password saved in Password Manager (checkbox was checked in Publish dialog and you supplied password there)? Whatever you did before for password, try the opposite. E.g., if you supplied it, don't now and uncheck the "Save..." checkbox.
Reporter | ||
Comment 4•22 years ago
|
||
I am seeing this problem whether I save the password or not. When I save the password, the FTP url flashes in the URL bar briefly before about:blank is displayed. When I do not save the password, the FTP url flashes briefly in the URL bar, then about:blank is displayed, and finally the password box comes up asking me for the password. When I enter the password, the page does not change to the actual page, and about:blank is still displayed.
Assignee | ||
Comment 5•22 years ago
|
||
Ahhh! Now I'm seeing this bug. The very first time I used "Browser" after starting Composer and publishing a page, the Browse command works. But if I make further changes to page, then used it, I see the url appear very briefly in Browser's URL input field, but then it changes to "about:blank:" In debug output window, I see this error: "Error loading URL ftp://jivamedia.com@ftp.jivamedia.com/test.html : 804b0002" This was working fine not too long ago.
Status: NEW → ASSIGNED
Keywords: nsbeta1,
regression
Whiteboard: [adt2]
Target Milestone: --- → mozilla1.0
Reporter | ||
Comment 6•22 years ago
|
||
Looks to me as though this was first broken on the 04-28 trunk build. The 04-27 trunk build appears to me to be working. Hope this helps.
Assignee | ||
Comment 7•22 years ago
|
||
So to test, be sure to 1. publish once 2. Use Browse button to load into Browser. 3. Close that browser window. 4. Use Browse button again.
Assignee | ||
Comment 8•22 years ago
|
||
Fix is to not try to reload URL with "bypass cache" flags after we just created a new browser window with the URL to preview. The problem only occurs in that case; maybe the cause is some timing issue because we are trying to reload the url before initial load is finished? While this problem was probably caused by a recent checkin, this fix makes sense for these reasons: 1. You must have saved or published the document from Composer before you are allowed to preview contents in browser, thus when you create a new browser with that url, it always gets the newest version of the page. I tested this with cache pref settings set to both "Every Time" and "Never". Thus there's no need to try to reload the url again. 2. All cases when you find an existing browser with the url we are editing are still found and the BrowserReloadSkipCache() still works fine for reloading the page to show newly edited content.
Assignee | ||
Comment 9•22 years ago
|
||
CC'ing Darin and Adam: Do you know any recent checkins that might make BrowserReloadSkipCache() fail if browser window is in the process of loading that URL? That behavior doesn't sound bad, but it was the cause of this bug so I just curious why that behavior changed.
Whiteboard: [adt2] → [adt2][FIX IN HAND][need r=,sr=]
Comment 10•22 years ago
|
||
does this bug also occur on the branch?
Reporter | ||
Comment 11•22 years ago
|
||
I am not seeing this problem on the 04-30 1.0.0 branch.
Assignee | ||
Comment 12•22 years ago
|
||
If we don't need to reload the url after creating a new browser window, then we don't need the "setTimer" delay when calling BrowserReloadSkipCache() when the window already exists.
Attachment #81706 -
Attachment is obsolete: true
Comment 13•22 years ago
|
||
cmanske: i have no idea what might explain this change in behavior.
Comment 14•22 years ago
|
||
Comment on attachment 81801 [details] [diff] [review] patch v2 now that I've seen more context I understand this fix better; I think it's the right thing to do. r=brade
Attachment #81801 -
Flags: review+
Assignee | ||
Updated•22 years ago
|
Severity: normal → major
Whiteboard: [adt2][FIX IN HAND][need r=,sr=] → [adt2][FIX IN HAND][need sr=]
Comment 15•22 years ago
|
||
Comment on attachment 81801 [details] [diff] [review] patch v2 sr=kin@netscape.com
Attachment #81801 -
Flags: superreview+
Whiteboard: [adt2][FIX IN HAND][need sr=] → [adt2][FIX IN HAND][reviewed]
Assignee | ||
Comment 16•22 years ago
|
||
checked into trunk ComposerCommands.js: new revision: 1.123; previous revision: 1.122
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Whiteboard: [adt2][FIX IN HAND][reviewed] → [adt2 TRM]
Updated•22 years ago
|
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [adt2 TRM] → [adt2 RTM]
Reporter | ||
Comment 18•22 years ago
|
||
*** Bug 144811 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•22 years ago
|
Comment 19•22 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch, pending Drivers approval. After, checking in, please add the fixed1.0 keyword.
Assignee | ||
Updated•22 years ago
|
Keywords: mozilla1.0.1
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 20•22 years ago
|
||
a=chofmann for 1.0.1
Assignee | ||
Updated•22 years ago
|
Keywords: mozilla1.0.1 → mozilla1.0.1+
Whiteboard: [adt2 RTM] [Needs a=],custrtm- → [adt2 RTM]approved,custrtm-
Assignee | ||
Comment 21•22 years ago
|
||
checked into mozilla1.0.1 branch
Keywords: mozilla1.0.1+ → fixed1.0.1
Summary: Browse button does not work with FTP publish if the HTTP field is left blank. → Browse button does not work after using it second time
Whiteboard: [adt2 RTM]approved,custrtm- → [adt2 RTM][fixed in branch],custrtm-
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•