Chris Withers wrote:
> > Squishdot uses an intSet called 'thread' to store some information.
> > Items in this intSet are used in several DTML methods, for example:
> >
> > <A HREF="<dtml-var site_url >/<dtml-var expr="thread[0]"
> > >/index_html#<dtml-var id >">Return to main thread</A>
> >
> > Now, in Zope 2.2 this throws an unauthorized error as show in the PS.
I've solved this now by adding a method to SquishSite:
def getThread(self, index):
"""A nasty hack since intSet's became protected in Zope 2.2.0"""
return self.thread[index]
This is nasty 'cos it means everyone with old Squish Sites will haveto
change them :(
Anyone got anything better?
cheers,
Chris
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )