When saving a file in Composer, we get back an nsILocalFile which points to the location where the file is to be saved. But I can't get an FSSpec out of the nsLocalFileMac, because the various getters all return an error. They do so because the ResolveAndStat() call fails (file not found). I think the FSSpec getters need to be smarter in this case.
Looking at it - the getters should return a vaild spec if the leaf does not exist.
nominate for rtm, this is needed to resolve 47553
Will work on it until resolved.
Patch looks good, r=sfraser.
PDT marking [rtm-] because the downside of not fixing doesn't sound like P1
Whiteboard: [rtm+] → [rtm-]
Conrad, can you check this in? Or is it in already?
If not, I'll check it in today.
Fix checked in. Works if the file in question is the leaf. In other words, its parent must exist.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.