[Zope-dev] skinscript and URL traversal question

2001-01-18 Thread Aaron Payne
Hi all, I originally posted this to the zope list and, upon suggestion, I am reposting it to zope-dev. I'm using a zsql method in a skinscript with query ... compute ... and it mostly works. Retrieving the dataskin with getItem() works. For example, Cid is the id of the coupon dataskin.

Re: [Zope-dev] skinscript and URL traversal question

2001-01-19 Thread Aaron Payne
At 05:02 PM 1/18/01 -0500, Phillip J. Eby wrote: >At 08:54 AM 1/18/01 -0500, Aaron Payne wrote: > >Hi all, > > > >I originally posted this to the zope list and, upon suggestion, I am > >reposting it to zope-dev. > > > >I'm using a zsql method in a

Re: [Zope-dev] skinscript and URL traversal question

2001-01-19 Thread Aaron Payne
At 09:38 AM 1/19/01 -0500, Phillip J. Eby wrote: > >>This is probably a permissions issue. During __bobo_traverse__, the user > >>has not yet been authenticated, and is effectively anonymous. > > > >I was logged in as a manager. > >That would not make any difference. As I said, when __bobo_trav

Re: [Zope-dev] skinscript and URL traversal question

2001-01-21 Thread Aaron Payne
Hi all, A solution has been found. woohoo. A not found error was produced with direct URL traversal. Steve Spicklemire sent this solution off list. The process is split into two steps: Do the query to 'load the object on traversal': WITH QUERY searchBy_Name(name=self.id) COMPUTE name Do th