Closed
Bug 135834
Opened 24 years ago
Closed 24 years ago
Publish page dialog autofills http address in site sub-directory.
Categories
(SeaMonkey :: Composer, defect)
SeaMonkey
Composer
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: TucsonTester1, Assigned: cmanske)
References
Details
(Keywords: dataloss, Whiteboard: PUBLISH [adt2 rtm][fixed in branch],custrtm-)
Attachments
(1 file, 5 obsolete files)
|
579 bytes,
patch
|
akkzilla
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9+)
Gecko/20020405 Netscape6/6.2.1+
BuildID: 2002040503
If an existing page is opened in Composer, edited and published, the publish
page dialog server information is initially "auto-filled" with the site http
address. When an existing site name is chosen, the appropriate content replaces
the http address in the server information section, but the http address is then
auto filled into the "site sub-directory for this page" box and must be removed
for page to publish properly.
Reproducible: Always
Steps to Reproduce:
1.Install/Launch NS 6.2.1+
2.Navigate to http://www.yahoo.com (or any existing site without framesets).
3.Open page in Composer (ctrl-e).
4.Edit content of page.
5.Click file | publish as...
6.Click on Publish tab.
7.Select existing site name from drop-down menu.
Actual Results: When the appropriate site name is chosen, the previously
auto-filled http address in the server information area is replaced with the
correct information. However, the "site sub-directory for this page:" is then
auto-filled with the http address.
Expected Results: site sub-directory window should remain empty unless a
directory is typed in or chosen from the drop-down menu.
| Assignee | ||
Comment 1•24 years ago
|
||
Wow! this is wierd.
I see the problem only when I select the first item in the SiteName list.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: nsbeta1
Whiteboard: PUBLISH
Target Milestone: --- → mozilla1.0
Comment 3•24 years ago
|
||
Ryan--any chance you could look at this?
| Assignee | ||
Comment 4•24 years ago
|
||
This was an important discovery. We are corrupting publishing data by the line:
var tempData = publishSiteData[i];
| Assignee | ||
Updated•24 years ago
|
Comment 5•24 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any
questions about this, please email adt@netscape.com. You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1-
| Assignee | ||
Comment 6•24 years ago
|
||
While the previous patch was adequate, the changes in this patch are correct
and should be included for sturdier code:
1. pubUrlFound and browseUrlFound should be false if the respective urls are
empty
2. matchedLength should always be > 0 if there was a real matched url.
Note that the block at @@ -695,30 +731,35 @@
is in the method FillInMatchingPublishData()
| Assignee | ||
Updated•24 years ago
|
Attachment #80519 -
Attachment is obsolete: true
Comment 7•24 years ago
|
||
seeking reconsideration due to data loss/corruption
| Assignee | ||
Comment 8•24 years ago
|
||
Comment on attachment 80519 [details]
patch v1
Removing obsolete:
This patch would be the most conservative minimum fix in case we are worried
about risk for beta
Attachment #80519 -
Attachment is patch: false
Comment 9•24 years ago
|
||
Comment on attachment 80519 [details]
patch v1
r=akkana on the simple/safe patch, provided that you add a newline at the end
of the file.
Have you asked to see whether there's already a Clone() function somewhere else
in the tree that might be in scope? Though it's small enough that it doesn't
matter very much.
Attachment #80519 -
Attachment is obsolete: false
Attachment #80519 -
Flags: review+
Comment 10•24 years ago
|
||
Comment on attachment 80521 [details] [diff] [review]
patch v2
r=akkana on the longer patch too.
BTW, that Clone method isn't general -- if the object contains other objects,
they won't be cloned. A similar but more general method is here:
http://developer.irt.org/script/879.htm
It should be fine in this case, but it might be worth adding a comment to Clone
in case anyone might be tempted to use it for other purposes.
Attachment #80521 -
Flags: review+
| Assignee | ||
Comment 11•24 years ago
|
||
This patch contains the more general 'clone' method that handles sub-objects
as suggested by akkana.
| Assignee | ||
Comment 12•24 years ago
|
||
Oops! tweaked the "better clone method" version.
Attachment #80873 -
Attachment is obsolete: true
| Assignee | ||
Comment 13•24 years ago
|
||
Note to reviewers: Please review all 3 Patches: "v1", "v2", "v3b" We might
checkin one vs. another for trunk vs. branch. "v3b" is an alternative to the
"Clone()" method that can be used instead that method in either "v1" or "v2".
Comment 14•24 years ago
|
||
Comment on attachment 80521 [details] [diff] [review]
patch v2
sr=hewitt
Attachment #80521 -
Flags: superreview+
Comment 15•24 years ago
|
||
I prefer patch v1 with patch v3b's version of editorUtilities.js.
I'd probably be happier with v3b if there were more comments in the code.
| Assignee | ||
Comment 16•24 years ago
|
||
"patch v2" checked into trunk.
new revision: 1.13; previous revision: 1.12
| Assignee | ||
Comment 17•24 years ago
|
||
Comment on attachment 80521 [details] [diff] [review]
patch v2
checked into trunk
Attachment #80521 -
Attachment is obsolete: true
| Assignee | ||
Comment 18•24 years ago
|
||
Comment on attachment 80521 [details] [diff] [review]
patch v2
checked into trunk
| Assignee | ||
Comment 19•24 years ago
|
||
Diff for updated "Clone()" method relative to current trunk tree.
Attachment #80875 -
Attachment is obsolete: true
| Assignee | ||
Comment 20•24 years ago
|
||
Ugg! wrong file last time.
New "Clone()" method relative to current trunk tree.
Attachment #81965 -
Attachment is obsolete: true
Comment 21•24 years ago
|
||
Comment on attachment 81966 [details] [diff] [review]
patch v5
r=akkana
Attachment #81966 -
Flags: review+
Comment 22•24 years ago
|
||
Are any comments going to be added to publishprefs.js?
| Assignee | ||
Updated•24 years ago
|
Whiteboard: PUBLISH [adt2] FIX IN HAND, need r=,sr= → PUBLISH [adt2] FIX IN HAND, need sr=
Comment 23•24 years ago
|
||
Charley, are you close to getting sr= on this? Should sujay be testing what was
landed earlier on the trunk?
| Assignee | ||
Comment 24•24 years ago
|
||
Yes, Sujay can verify the original bug description -- it is now fixed.
I'm holding it open to get the better version of the "Clone()" method approved,
but it doesn't affect the original bug.
Comment 25•24 years ago
|
||
Verified on the 05-09 trunk build.
This has been fixed.
Whiteboard: PUBLISH [adt2] FIX IN HAND, need sr= → PUBLISH [adt2 rtm] FIX IN HAND, need sr=
| Assignee | ||
Updated•24 years ago
|
Attachment #80519 -
Attachment is obsolete: true
Comment 26•24 years ago
|
||
Comment on attachment 81966 [details] [diff] [review]
patch v5
sr=hewitt
Attachment #81966 -
Flags: superreview+
| Assignee | ||
Comment 27•24 years ago
|
||
patch v5 checked into trunk
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: PUBLISH [adt2 rtm] FIX IN HAND, need sr= → PUBLISH [adt2 rtm][FIXED_IN_TRUNK]
Comment 29•24 years ago
|
||
Please nominate this for adt1.0.0 since it is fixed on the trunk
Comment 30•24 years ago
|
||
Charley--please e-mail drivers and request to land this on the branch
Keywords: adt1.0.0,
mozilla1.0
Updated•24 years ago
|
Comment 31•24 years ago
|
||
Adding custrtm-; no impact on customization.
Whiteboard: PUBLISH [adt2 rtm][FIXED_IN_TRUNK] [Needs a=] → PUBLISH [adt2 rtm][FIXED_IN_TRUNK] [Needs a=],custrtm-
| Assignee | ||
Updated•24 years ago
|
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 32•24 years ago
|
||
a=chofmann for 1.0.1
| Assignee | ||
Comment 33•24 years ago
|
||
checked into mozilla1.0.1 branch
Whiteboard: PUBLISH [adt2 rtm][FIXED_IN_TRUNK] [Needs a=],custrtm- → PUBLISH [adt2 rtm][fixed in branch],custrtm-
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•