[Zope3-dev] @@/ for ++resource++

Steve Alexander steve@cat-box.net
Thu, 10 Apr 2003 08:43:28 +0200


Garrett Smith wrote:
> Is the use of "@@/" an official shortcut for "++resource++"?

Yes.


> I've been using the shortcut with some success, but when "++etc++site"
> is used in a URL, the view method in the namespace module is called to
> handle "@@". But, as there's there no view, NotFoundError is raised.
> 
> :-) Sorry, that explanation is probably a bit clumsy -- I'm not entirely
> sure what's going on. In any case, one can recreate the problem by:
> 
>  1 - using "context/@@/zope3logo.gif" for the src attribute in the
> Rotterdam template.pt
>  2 - visit the root -- note the zope 3 logo is displayed per the
> shortcut
>  3 - use the tree control to navigate to ++etc++site -- results in
> NotFoundError
> 
> I hope this is a bug, because "@@/" is a nice alternative to
> "++resource++".

That sounds like a bug.
Would you report it in the Zope 3 collector?

   http://collector.zope.org/Zope3-dev

--
Steve Alexander