Re: silva trunk reference lookup window broken?

eric casteleijn <[email protected]> Fri, 04 Jan 2008 10:52:31 +0100
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Andy Altepeter wrote:
> Hey!
> 
> Can anyone else developing in the Silva trunk replicate this problem?  I don't 
> know if it's just my local install or not...
> 
> In the Silva trunk, when editing a document in kupu, and in the link tool I 
> click "get link reference", I get the following error:
> 
> AttributeError: objectLookupGetObjects
> 
> And the relevant part of the traceback is is below.
> 
> It seems that with "view.objectLookupGetObjects", we're expecting the Zope 3 
> browserview helper class (Silva/browser/lookup.py), but what we really get is 
> the Silva "view" attribute, which references the current SilvaView view.  In 
> other words, the view variable is what you would expect in a Silva view (e.g. 
> edit), and not a Zope 3 browser view.
> 
> If I change the relevant line of object_lookup.pt to:
> options['args'][0].objectLookupGetObjects, it works just fine.

Yes, I just noticed the same behavior yesterday, and Kit told me it's
been that way for a few weeks at least. I've looked at changes briefly,
but found nothing obvious. I'll have a further look, we know it's
working on the 2.0 branch, so it shouldn't be too hard to fix.

_______________________________________________
silva-dev mailing list
silva-dev-IAPFreCvJWM6s/[email protected]
https://lists.infrae.com/mailman/listinfo/silva-dev
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHfgHjWlVFV2jikVARAm8MAJ9i+waUGhxcU2Gt1jsyvLks9ubdtgCgp7Ii
4xeiJzWXF43oqAMFwQSe05k=
=1QD0
-----END PGP SIGNATURE-----