Re: reserved/internally used ids: "home"
Kit BLAKE <[email protected]> Mon, 8 Dec 2008 10:38:08 +0100
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
On 5 Dec 2008, at 10:27, Marc Petitmermet wrote: > i wanted to create a link object with the id "home" to point to > "index". silva-2.1 tells me that "home" is reserved for internal use. > well, i have a link object with id "home" in a silva-1.6.3 site which > works perfectly without any problems. searching through the svn > repository it seems that "home" was added to the pool of reserved ids > in silva-1.4. therefore, my "home" object must have survived all > upgrades to silva-1.6.3 and it still works. in silva-2.1 i've > "illegally" renamed the object in the zmi to "home" and i have not > found any problems so far. so what qualifies "home" to be in the list > of reserved ids? The reserved id list is one of those things that should have been carefully tracked and documented, because various developers added various items to the list at various times, and today we're not sure why. A while back I removed some items that I thought authors might want to use (such as 'home'). Whereupon, things started erroring and the fix was to put them all back. Kit -- Kit BLAKE · Infrae · http://infrae.com/ + 31 10 243 7051