Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Be aware of possible data loss when saving from iWeb' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Be aware of possible data loss when saving from iWeb
Authored by: mozart111 on Dec 19, '06 09:14:06AM

Same thing happend to me. I have a folder of various iWeb domains all in their own folders. I created a new site in iWeb and before I shut dwon for he night I published it into the same folder as the Domain file is located. I figured this was logical. Keep all files of a specific site in the same folder. Published. Shut down and sent to bed. Next day went to do some work on the Domain file. Went to the folder and it couldn't be found. Just the publshed site. I went nuts looking. Figuring I must have screwed up. I looked everywhere. Nothing. Couldn't find the Domain file anywhere.

On researching at the Apple forums, that's the first question I was asked in a reply. Did I save in the samee folder as the domain file. Yes I answered. The pulished site overwrites the Domain file. WTF. How can iWeb overwrite the currently open domain file? It does!

Make sure you either rename it or as I do, publish to a whole new folder, with a new name, in a different location of the Domain file.

I can't believe Apple has not fixed this yet. This is literally something that Microsoft would do. And Apple designed it this way.



[ Reply to This | # ]
Be aware of possible data loss when saving from iWeb
Authored by: phrayzee on Dec 19, '06 09:28:58AM

I don't think this is a bug per se. The default behavior of OS X is that if two folders have the same name but different contents, when you "copy" the contents of folder A over the contents of folder B, the contents of folder B are deleted and replaced with the contents of folder A. While this is an issue, it doesn't sound like a bug to me.



[ Reply to This | # ]
Be aware of possible data loss when saving from iWeb
Authored by: Dave Andrews on Dec 19, '06 11:27:44AM

Of course it is a bug. A copy operation took place without your express knowledge. The destination folder had never been used before by iWeb, it contained information not intended for iWeb. I did not ask iWeb to copy its output to this folder, iWeb chose to do this - without warning.
If you don't think its a bug then create a web site and call it any of the following
'Users', 'Applications', 'System', or 'Library' and save it to the top level of your hard drive. When it trashes your system without warning, remind yourself its default OS X behavior!

WARNING - DO NOT TRY THE ABOVE EXAMPLE



[ Reply to This | # ]
Be aware of possible data loss when saving from iWeb
Authored by: frgough on Dec 19, '06 12:02:44PM

I doubt that would work; you don't have write privileges for anything in System, so that will fail. Replacing Applications or Library will also probably fail since some of the files in those folders also will not be writable by you so you will not be able to replace them.

That said, the lack of confirmation of overwrite is a nasty bug.



[ Reply to This | # ]
Be aware of possible data loss when saving from iWeb
Authored by: fbitterlich on Dec 20, '06 02:38:38PM

Hmmm? Of course OS X does _not_ work this way. If it would replace the _contents_ of a folder every time you copy the _contents_ of another folder into it, with no name conflicts, how would you ever merge the contents of two folders?

OS X itself (read: the Finder) does never replace anything as long as the names are different. The problem described in this hint is unique to the iWeb application and is caused by iWeb thinking it "owns" the published folder. Serious bug if you ask me, and definitely against Apple's own guidelines.



[ Reply to This | # ]