Hass,
Do you use some version of z3c.layer that's registering standard Zope
traversers as trusted adapters, like, e.g:
In this case, if you traverse to 'student_object/top.html' the
ItemTraverser will try to lookup the view:
view = queryMultiAdapter((self.context, request), name=name)
Am Freitag, 6. Juli 2007 16:29 schrieb Mikael Moutakis:
> Hello
> I wrote a feed aggregator using the module FeedParser. I stored the RSS
> feed url in a persistant content component and retrieved the feed data in
> the view class. But I thought that I should move the feed data into the
> content c
> I get a
> ForbiddenAttribute error when viewing the class
AFAIR ForbiddenAttribute means that you have no
permissions for attribute you want to access.
No permissions means that it is neither allowed
nor denied :)
You're using feed.entries:
> result+=[(e.updated_parsed, feed.channel, e) for e i
HA! I spoke too soon.
Your permissions are OK, zope.View has the right permissions. Sorry about
that.
Check the permissions on "entries" in your feed, that's where the backtrace
points to.
D
___
Zope3-users mailing list
Zope3-users@zope.org
http://
> permission="zope.ManageContent"
> set_schema=".interfaces.IFeed"
> />
>
>
>
> Haven't I declared the getRawFeedData method by including it in the IFeed
> interface?
>
> Thanks!
>
> /Mikael M
Hi Mikael
Rest assured you have a permissions problem. (ForbiddenError
Dominique Lederer wrote:
> Darryl Cousins schrieb:
>> Hi Tim,
>>
>> On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote:
>>> Is there a way to add content without having @@+ in the URL? For
>>> instance I'd like the url for adding events to be /addEvent.
>>>
>>> I get security problems when not
Darryl Cousins schrieb:
> Hi Tim,
>
> On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote:
>> Is there a way to add content without having @@+ in the URL? For
>> instance I'd like the url for adding events to be /addEvent.
>>
>> I get security problems when not having @@+ in the URL. I have thi
On Wednesday 18 October 2006 07:31, Thierry Florac wrote:
> I've created a ViewletManager to display available transitions, but a
> ForbiddenAttribute exception is raised. I know that this exception is
> due to missing permissions settings, but no configuration is working...
See my other post on m
Hi Tim,
On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote:
> Is there a way to add content without having @@+ in the URL? For
> instance I'd like the url for adding events to be /addEvent.
>
> I get security problems when not having @@+ in the URL. I have this view:
>
> for="zope.a
Le mercredi 18 octobre 2006 à 13:31 +0200, Thierry Florac a écrit :
> Hi,
>
> I'm trying to use the "hurry.workflow" package (loaded from CVS) to
> handle a simple workflow.
> I've created a ViewletManager to display available transitions, but a
> ForbiddenAttribute exception is raised. I know t
On Sun, Oct 15, 2006 at 03:20:17PM +0200, Christophe Combelles wrote:
> In the link below, it is said that the ForbiddenAttribute exception is
> ALWAYS a problem of permission.
> http://kpug.zwiki.org/Zope3Faq#what-is-forbiddenattribute-exception-error
>
> But if you try to access an attribute th
Le mercredi 11 octobre 2006 à 00:52 +0200, Thierry FLORAC a écrit :
Hi,
I try to setup a little application but have a probably little problem
with a ForbiddenAttribute exception on "location.locate" method.
Here is my setup :
class IPhoto(IContainer,IContained):
"""Ph
Achim Domma wrote:
I have implemented a view for a catalog index. The page template
contains this little form to add strings to a list of categories:
[...]
class EditView(object):
def categories(self):
return self.context.categories
def add_category(self,name):
self.co
Look at form.txt in the formlib directory.
On Wed, 17 May 2006 11:24:43 -0500, Jachin Rupe wrote
> hi there
>
> thanks for the help. I was just reading somewhere that formlib is
> the way to go. Is that the general consensus?
>
> The problem is, it doesn't look like formlib is covered in eit
hi there
thanks for the help. I was just reading somewhere that formlib is
the way to go. Is that the general consensus?
The problem is, it doesn't look like formlib is covered in either of
my books. Does anyone know of any good examples, howtos, tutorials,
etc on it's use?
I did fin
Hi Jachim
[...]
> ForbiddenAttribute: ('street', instance at 0x3afa828>)
[...]
>
> class ABookEntryEditView(EditView):
> __used_for__ = IABookEntry
>
> streetAddress_widget = CustomWidgetFactory(ObjectWidget,
> ABookEntry)
Try to use a formlib form with a correct setup.
Or check this
On Monday 06 March 2006 00:41, Shaun Cutts wrote:
> I hope I don't have to declare permissions built in classes?!?
Yes you do. We have no security declarations on frozenset in the Zope 3 code.
I think this has been discussed on zope3-dev, but I am not sure whether
security declarations were adde
Baiju M explained to me in IRC that
http://localhost:8031/DebtManager/+/@@AddClaim.html should be
http://localhost:8031/DebtManager/@@+/AddClaim.html or
http://localhost:8031/DebtManager/+/AddClaim.html . So there you go.
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote:
> Interestingly enough,
Interestingly enough, switching the implementation to BTreeFolder
causes this error:
AttributeError: 'DebtManager' object has no attribute 'getSiteManager'
On 3/4/06, baiju m <[EMAIL PROTECTED]> wrote:
> On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote:
> > > is .interfaces.IDebtManager a ICon
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote:
> > is .interfaces.IDebtManager a IContainer interface, i.e.,
> > you are extending IContainer, like ::
>
> > class IDebtManager(IContainer):
> >pass
>
> The class is
>
> class DebtManager(Folder):
>
> which implements IDebtManager whic
> is .interfaces.IDebtManager a IContainer interface, i.e.,
> you are extending IContainer, like ::
> class IDebtManager(IContainer):
>pass
The class is
class DebtManager(Folder):
which implements IDebtManager which is:
class IDebtManager(IContainer):
"""IDebtManager Marker Inte
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote:
> What kind of thing would go into an IContainerInterface?
is .interfaces.IDebtManager a IContainer interface, i.e.,
you are extending IContainer, like ::
class IDebtManager(IContainer):
pass
And you will be implementing IDebtManager
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote:
> Hi, I get this error
>
> ForbiddenAttribute: ('add', object at 0x754d09ac>)
>
> when I try to add a "Claim" to a "DebtManager" (both are subclasses of
> Folder) at http://localhost:8031/DebtManager/+/@@AddClaim.html
>
> The addform looks like t
On 9/14/05, Maciej Pietrzak <[EMAIL PROTECTED]> wrote:
>
> My guess is that you forgot to specify permissions for container interface.
>
> Add interface="zope.app.container.interfaces.IReadContainer"/> (or
> something like that) to your ZCML file (inside element).
>
Thank you, that was the pr
24 matches
Mail list logo