manage_FTPstat and manage_FTPlist considered harmful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
Several issues here:
- Looks like the CWD command ends up calling manage_FTPlist, but never actually looks at the result except for the status code and deciding if it's a directory or not is checked by looking at the first entry only. manage_FTPlist looks at 'self.objectIte
- MTDM and SIZE call manage_FTPstat, which in ObjectManager has the following pearl of programming:
# check to see if we are acquiring our objectValues or not
if not (len(REQUEST.
Obviously there must be a better way to check if objectValues is being acquired than waking up all the objects in the folder and it's parent.
This beautiful code is still present.