• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Stale" URL bookmarks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Stale" URL bookmarks?


  • Subject: Re: "Stale" URL bookmarks?
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 13 Aug 2013 21:08:05 -0700

On Aug 13, 2013, at 19:20 , Tom Harrington <email@hidden> wrote:

> What does "stale" mean in this context? And if the bookmark is stale, what
> if anything should I do (or not do) in response to that?

"Stale" means that the referenced file could not be found using the explicit information in the bookmark (such as the parent directory and file name), but a plausible alternative *could* be found by assuming information that's either not in the bookmark or that contradicts what's in the bookmark.

For example, if the file was renamed, and the bookmark has recorded the file system node number, the original file could be be found via the file number. However, it now has a conflicting name, even though bookmark resolution has "decided" it's the same file.

Now imagine, for example, that the file is accidentally deleted and then restored from a backup, under the newest name. It will likely have a different file number and the original bookmark will now be unresolvable.

When you're told that a bookmark is stale, you're being warned that file metadata has changed, and that further metadata changes may break the bookmark. That gives you the opportunity to re-create the bookmark using the latest metadata, rendering the bookmark more tolerant to future metadata changes.

You can choose to re-create the bookmark or not. The upside to doing so is that your bookmark may more robustly follow a series of file metadata changes. OTOH you may not want to have your bookmark cling to files that are moved or renamed.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: "Stale" URL bookmarks?
      • From: Tom Harrington <email@hidden>
References: 
 >"Stale" URL bookmarks? (From: Tom Harrington <email@hidden>)

  • Prev by Date: "Stale" URL bookmarks?
  • Next by Date: Can't type chars into UITextField?
  • Previous by thread: "Stale" URL bookmarks?
  • Next by thread: Re: "Stale" URL bookmarks?
  • Index(es):
    • Date
    • Thread