Closed Bug 137641 Opened 22 years ago Closed 22 years ago

Publish fails if any of the (include images and other files) files cannot be found

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 134883
mozilla1.0

People

(Reporter: TucsonTester1, Assigned: cmanske)

References

Details

(Whiteboard: publish)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc1)
Gecko/20020413 Netscape6/6.2.1+
BuildID:    2002041306

If a page, including images, does not properly publish/upload, all attempts to
publish thereafter fail. 

Reproducible: Always
Steps to Reproduce:
1.Install/Launch NS.
2.Launch a new/blank Composer window.
3.Add content to page including an image.
4.Select file|publish as... and publish to an ftp site(include images using same
location as page).
5.Add another image to the page.
6.Select file|publish as... 
7.Ensure include images and other files is checked.
8.Select "Use this site sub-directory" and enter an invalid sub-directory name
to cause publish to fail.
9.Attempt to publish the page using a correct sub-directory.

Actual Results:  Publishing initially fails because of the invalid
sub-directory.  Subsequent attempts to re-publish the page also fail whether
sub-directory is correct or not.

Expected Results:  Page should publish properly if correct information is
included in the publish dialog.

All attempts to re-publish the page fail as long as the images remain on the
page.  If the images are removed, the page will publish.
I suspect that this is related to bug 134883.
no, I don't think it's related to that bug.

This bug can be reproduced by specifying a bad directory and then removing the
sub directory in a subsequent publish attempt (no images necessary).

Charley--reassign this to me if you don't want to investigate it.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → mozilla1.0
Kathy: No, this is *exactly* the problem I described in bug 134883!
I'll add more comments in that bug. Duping this one.


*** This bug has been marked as a duplicate of 134883 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
Reopening bug to get clarification.
I don't believe this is a duplicate because I was able to reproduce the publish
failure without images (and that has nothing to do with image urls).

Sujay, Michael--can you reproduce this problem with the following steps (based
on original steps)?

Steps to Reproduce:
1.Install/Launch NS.
2.Launch a new/blank Composer window.
3.Add text to page.
4.Select file|publish as... and publish to an ftp site.
5.Type more text.
6.Select file|publish as... 
7.Add a "invalid" sub-directory name to cause publish to fail.
8.Select file|publish as...
9.Attempt to publish the page using a correct sub-directory or without
sub-directory.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
I am not able to reproduce this problem on the 04-29 build using Brade's
suggestion.  I am able to reproduce this bug everytime using the original steps
to reproduce, but only if I fill out the "HTTP address to browse to:" field.  

I think that this is more then likely a dupe of bug 134833.
Following Kathy's steps in comment #5,
I fail to publish if I designate a bad directory (step 8). I see the appropriate
error messages and we are left with same page locaton as before.
Step 9: If I then try to publish to a valid subdirectory, it publishes
successfully and the page location is changed to the new subdirectory.
The original bug description is definitely a dup of bug 134883.

The scenario described by Kathy should be a separate bug, if it can be reproduced.
I withdraw my comments with the revised steps to reproduce.
I think this is a better test scenario that needs to be addressed and is not
directly related to bug 134883:

1. Launch new composer window
2. add content to page
3. add this image to page:  http://mozilla.org/images/foobar/image.jpeg
4. File > Publish As...
5. Pick site where successful publishing should occur, give filename, etc.
6. Click publish

Observation:  publishing fails
Expectation:  I expect publishing to succeed if a broken image is encountered.
Keywords: nsbeta1
Summary: Unable to publish page if previous publish attempt fails. → Unable to publish page if broken image is encountered
Whiteboard: publish
I can see where it would be better to not consider a publishing attempt a total
failure if only 1 or more image files fail because of a bad URL. I think this is
going to be tricky to do, however. Will investigate.
Status: REOPENED → ASSIGNED
Keywords: nsbeta1nsbeta1+
Whiteboard: publish → publish [adt2 rtm]
*** Bug 139619 has been marked as a duplicate of this bug. ***
Updating summary to cover all associated files.
Summary: Unable to publish page if broken image is encountered → Publish fails if any of the (include images and other files) files cannot be found
Comments from DSLMichael from bug 139619 to explain why we think it's a dup:

The problem here as I see it is that Excell is referencing non existant files in
the head tag when it creates an html file.
If you uncheck the option to "include images and other files" when publishing,
Composer is able to publish the document.
But if you check the option, Composer tries to upload the files: filelist.xml
editdata.mso and oledata.mso.  Which it cannot find because Excell did not
create these files (at least not in the location specified in the head tag).  
Whiteboard: publish [adt2 rtm] → publish [adt2 rtm] verify DUPS after this bug gets fixed
Whiteboard: publish [adt2 rtm] verify DUPS after this bug gets fixed → publish [adt2 rtm] verify DUPS after this bug gets fixed custrtm-
This is fixed by the fix for bug 148425
Depends on: 148425
This is fixed by a combination of recently-fixed publishing bugs.
If a bad directory is used for an image, that *will* abort the entire publishing
session (you will see "Publish Failed" message in Progress dialog).
But we then restore the original page, so subsequent attempts to publish will 
succeed. The central issue for this bug was the URL adjustments done during 
publishing, fixed in bug 134883, so I'm going to dup this one to that.

*** This bug has been marked as a duplicate of 134883 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
Removing keywords since this is fixed
Keywords: nsbeta1+
Whiteboard: publish [adt2 rtm] verify DUPS after this bug gets fixed custrtm- → publish
bulk verification.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.