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

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 skinscript with query ... compute ... and it mostly works.

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_traverse__ is

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

2001-01-19 Thread Phillip J. Eby
At 09:41 AM 1/19/01 -0500, Aaron Payne wrote: At 09:38 AM 1/19/01 -0500, Phillip J. Eby wrote: Thus, your SkinScript is running as anonymous, and probably doesn't have rights to access the SQL method. You might need to change the proxy roles setting on the SkinScript method so that when the

[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-18 Thread Phillip J. Eby
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 skinscript with query ... compute ... and it mostly works. Retrieving the dataskin with getItem() works. For