DirectoryView debug mode: no refresh after .metadata file changes

Bug #714525 reported by yuppie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope CMF buildout
Confirmed
Low
Unassigned

Bug Description

Sometimes editing files has side effects that change the directory modification time, but we can't rely on that. That means .metadata file changes sometimes don't trigger a refresh.

DISABLED_test_editPRM and DISABLED_test_DelAddEditPRM in test_FSSecurity.DebugModeTests on trunk show this issue if use_dir_mtime is True. If use_dir_mtime is False (= slow win32 code), the _walker keeps track of file changes as well, making that code even slower.

It might be necessary to make the _updateFromFS method of FSObjects responsible for handling .metadata file changes.

Tags: cmfcore
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.