-
Notifications
You must be signed in to change notification settings - Fork 7.6k
WebDAV empty folders cause inability to create new files #4649
Comments
@axxidental |
Yep, all works well in Windows Explorer, and if I create a file in that Seems strange that it should act this way. I'll try it from another On Sat, Aug 3, 2013 at 11:23 PM, Raymond Lim [email protected]:
|
@axxidental Can you reproduce the issue on another machine? Do you remember how (and when) you created the problematic folder? |
I was overly busy yesterday, I'll try it now give me an hour to set up the On Mon, Aug 5, 2013 at 11:45 PM, Raymond Lim [email protected]:
|
Happens on both of my other computers here, in both Sprints 27 and 28. Steps to reproduce:
Each PCs is quite different too, one is a custom built box running Windows Hope this helps, let me know if I can provide any other information. On Tue, Aug 6, 2013 at 8:42 AM, Chris Riedel [email protected] wrote:
|
@axxidental Thanks for your testing and providing more info. One question to clarify that I understand your steps correctly. Are you done with "Open Folder" dialog after step 2 or after step 3? In other words, your selection of an empty folder in step 3 is in the "Open Folder" dialog or do you mean clicking on an empty folder in the side bar? Also, can you try with sprint 26 build and see you can reproduce with it? |
Sorry, that was vague. I am done with open folder dialog after step 2, the Same problem in Sprint 26. To make it more interesting, if you select an empty folder in the open On Tue, Aug 6, 2013 at 10:41 AM, Raymond Lim [email protected]:
|
It seems like there's a generic issue here with the tree code not being very robust to file IO errors, also. If there's an error lazy-loading a subfolder of a larger project (as seems to be the case here), the tree shouldn't get into a borked state where subsequent operations silently fail with no feedback... |
@axxidental |
The bug that was preventing new files from being created without a refresh If you select an empty folder from the "open folder" dialog, after Not sure why the behavior only occurs on empty folders on a WebDAV drive, A 'df -T' on the Linux box is showing fakeroot and fakefs for file systems, I will try to provide more info if needed, just let me know! On Wed, Aug 21, 2013 at 3:14 PM, Raymond Lim [email protected]:
|
@axxidental We have a big change in Brackets file system. Can you check with sprint 36 build and let us know whether you are still having any issue? |
Hate to say it, but its actually worse. It's giving the error now for many folders, regardless of whether or not they are empty. It is the same with both secure and unsecured protocols (HTTP/HTTPS) |
@axxidental Sorry to hear that it's getting worse. Not sure we will be able to fix it on our end since we don't have a similar network to test with. @jasonsanjose and @iwehrman This is similar to #6029. Do you have any suggestion of how to fix this in the new file system? |
I am skeptical that it is related to #6029. This is on Windows, right? Are there any errors or message in the console? |
Nope, nothing in the console. |
I wonder if we can narrow down the problem within the filesystem. What happens if you enter the following in the console?
|
Great! This is really helpful. My guess is that this bug lies somewhere within the native shell that performs the actual I/O. If you have a chance, could you do one more follow-up test in the console to help confirm this?
@RaymondLim or @JeffryBooher or @bchintx: it seems like there is now enough info here to try to reproduce and track down this issue with empty WebDAV-mounted directories on Windows. In particular, I think we've ruled out any relationship to #6029, which is about path normalization. |
@axxidental Thanks for your help with @iwehrman's instructions. I think I know the real cause in the native code readdir function. It seems that we should be calling FindFirstFile with native paths (ie. using |
@RaymondLim That is great news! If you want me to test an executable again, just let me know! |
@axxidental we've fixed this issue which is available to build from master now or test in the next release of Brackets. Thanks for finding! |
Using a WebDAV network drive, if you select an empty folder in the tree, it gives the error message:
After dismissing the message, if you right click in the tree and try to create new file or new folder anywhere in the tree, nothing happens.
A refresh of the tree (right click->refresh from within the tree) does not resolve it, but refreshing the application (F5) does, so long as you don't click an empty folder.
As a note, this behavior does not occur using local disks. The webdav is mapped/mounted as a local disk via NetDrive.
The text was updated successfully, but these errors were encountered: