From cee3ef4ab9e9ecd043615af98d444af0a7f9ae96 Mon Sep 17 00:00:00 2001 From: Philip Bauer Date: Fri, 17 May 2019 23:20:39 +0200 Subject: [PATCH] fix another bug in manage_FTPlist introduced in https://github.com/zopefoundation/Zope/commit/b4495eb403c622300b02071a0904b3ad948cc4fe#diff-f7f065aa241603d275d21b8e191fa844 --- src/OFS/ObjectManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OFS/ObjectManager.py b/src/OFS/ObjectManager.py index 3b3b1f7fdf..f8225cb11d 100644 --- a/src/OFS/ObjectManager.py +++ b/src/OFS/ObjectManager.py @@ -797,7 +797,7 @@ def manage_FTPstat(self, REQUEST): # check to see if we are acquiring our objectValues or not parents = REQUEST.PARENTS if not (len(parents) > 1 - and self.objectValues() == parents.objectValues()): + and self.objectValues() == parents[1].objectValues()): try: if getSecurityManager().validate( None, self, 'manage_FTPlist', self.manage_FTPlist):