[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2012-03-14 Thread admin
System message: -- status: chatting - done-cbb __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue64 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2012-01-01 Thread optilude
optilude optil...@gmail.com added the comment: The pastie is gone, but the problem is basically this: z2bob does the ``browserDefault()`` lookup in ``next_name()`` and is capable of providing a name to continue traversal to. However, the ``browserDefault()`` protocol returns a tuple of

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2012-01-01 Thread optilude
optilude optil...@gmail.com added the comment: Here is a pretty rough patch for this (not very well tested, and there possibly a security issue with this) Index: repoze/zope2/z2bob.py = == --- repoze/zope2/z2bob.py

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2012-01-01 Thread optilude
optilude optil...@gmail.com added the comment: Here's a better, safer patch: Index: repoze/zope2/z2bob.py = == --- repoze/zope2/z2bob.py (revision 11017) +++ repoze/zope2/z2bob.py (working copy) @@ -313,6 +313,10 @@

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2012-01-01 Thread Tres Seaver
Tres Seaver tsea...@agendaless.com added the comment: It is pretty unlikely that we will relese another version of repoze.zope2. __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue64 __

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2012-01-01 Thread optilude
optilude optil...@gmail.com added the comment: Yes, I figured, but since I was digging into this and found a solution, I wanted to at least record it somewhere. See also https://mail.zope.org/pipermail/zope-dev/2012-January/043930.html __ Repoze Bugs

[Repoze-dev] [issue64] repoze.zope2 not compatible with zope 2.12 browser resources

2009-02-27 Thread Chris McDonough
New submission from Chris McDonough chr...@plope.com: Apparently repoze.zope2 calls the __call__ method of file resources rather than the GET method as it should, when trying to return a resource. Zope 3 browser resources: