-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange call of policy.validate in Traversable #926
Comments
If you look at the If there is an actual problem it would be helpful if you described it. |
I actually went through I think it is spurious that the name is not used in this particular case. And I am asking advice of people I consider wise. And sorry for the noise if you think this makes no sense. |
I think this code was added in e10b7d6 ( I must admit that I do not understand what was the goal of that change. |
While debugging, I came to the following line:
Zope/src/OFS/Traversable.py
Line 315 in b507c39
Which passes
None
tovalidate
instead of thename
variable that is used at line 301.@dataflake @icemac Do you see a reason for not passing the actual
name
to thatvalidate
call ?All other calls in
restrictedTraverse
(except 1) do pass the availablename
variable.The text was updated successfully, but these errors were encountered: