[Zope3-Users] question: can I make a view trusted?
Shaun Cutts
shaun at cuttshome.net
Thu Feb 16 23:28:53 EST 2006
Ah,
Here's something to note:
When I print out the schema objects just before attempting to access
their titles, I get:
-----------------------------------
<zope.schema._bootstrapfields.Int object at 0x022E4490>
<zope.schema._bootstrapfields.TextLine object at 0x022E4470>
<zope.schema._bootstrapfields.TextLine object at 0x022E4430>
<zope.schema._bootstrapfields.TextLine object at 0x022E42D0>
<zope.schema._field.Date object at 0x022E44D0>
2006-02-16T23:20:35 ERROR SiteError...
-----------------------------------
In other words, I have no problem accessing the fields of the schema
objects that are defined in _bootstrapfields, but I get an error when I
access Date, which lives in _field!
I defer to those who know more, but whether I'm supposed to be allowed
to access the title or not, the current behavior seems like a bug, as it
is inconsistent.
- Shaun Cutts
More information about the Zope3-users
mailing list