Directory not unreferenced correctly from cache when renamed
Submitted by SzorostalpuJeti
Link to original bug (#609150)
Description
It seems that gc somehow caches the directory entries and recreating the same path mixes it up.
Steps to Reproduce:
- Create a directory named somedir.
- Create a subdirectory named subdir in it.
- Put some files into subdir
- Rename parent directory (somedir -> somedir_)
- Create a directory named somedir.
- Create a subdirectory named subdir in it.
- Enter to subdir.
Actual Results: You see the files from step 3 (but you cannot see their contents).
Expected Results: Empty directory.
Version & Platform: 1.2.8.2 on Ubuntu 9.10
Additional Information: Restarting application solves the problem.
Version: 1.2.x
Edited by Uwe Scholz