Skip to content
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

DAV dir listing stalled on Word temp files #3076

Closed
cyberduck opened this issue Mar 19, 2009 · 5 comments
Closed

DAV dir listing stalled on Word temp files #3076

cyberduck opened this issue Mar 19, 2009 · 5 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Mar 19, 2009

3b43c93 created the issue

I have a setup where LAN users connect to a shared dir using SMB and WAN user connect over DAV.

If a lan user has an MS Word doc open on the shared directory a temp file in the form of:

~$D filename.doc

is created. Cyberduck at that point can no longer refresh the directory listing for wan users using DAV. Once the lan user closes the Word doc wan DAV listing is back to normal.

CD 3.2.1 connecting to an IIS DAV server over SSL.

Leopard Finder DAV can list the directory OK (but leopard DAV is dodgy at best)

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 19, 2009

@dkocher commented

Can you post the error message if any (including the transcript) and and any related output in the console.log (/Applications/Utilities/Console.app).

Is it possible to get access to the server to debug the issue?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 19, 2009

3b43c93 commented

console output generated. This is the result of this scenario:

  • no doc open
  • cyberduck to dir, list dir ok
  • open doc on LAN
  • refresh
  • loops

Unable to post console because your Akismet scanner says it is spam. Will e-mail.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 19, 2009

@dkocher commented

Replying to [comment:2 john@…]:

console output generated.

3/19/09 11:45:52 AM [0x0-0x12d92d8].ch.sudo.cyberduck[17586] Exception in thread "Background" java.lang.NullPointerException 
3/19/09 11:45:52 AM [0x0-0x12d92d8].ch.sudo.cyberduck[17586]  at ch.cyberduck.core.dav.DAVPath.list(DAVPath.java:165) 
3/19/09 11:45:52 AM [0x0-0x12d92d8].ch.sudo.cyberduck[17586]  at ch.cyberduck.core.AbstractPath.childs(AbstractPath.java:104) 
3/19/09 11:45:52 AM [0x0-0x12d92d8].ch.sudo.cyberduck[17586]  at ch.cyberduck.core.AbstractPath.childs(AbstractPath.java:91) 
3/19/09 11:45:52 AM [0x0-0x12d92d8].ch.sudo.cyberduck[17586]  at ch.cyberduck.ui.cocoa.CDBrowserController$5.run(CDBrowserController.java:690) 
3/19/09 11:45:52 AM [0x0-0x12d92d8].ch.sudo.cyberduck[17586]  at ch.cyberduck.ui.cocoa.CDWindowController$1.run(CDWindowController.java:76) 

It looks like the resourcetype property is missing for this collection entry.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 20, 2009

@dkocher commented

The actual response is

<a:multistatus xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:c="xml:" xmlns:a="DAV:">
	<a:response>
		<a:href>https://central.bmdc.org/cyberduck/</a:href>
		<a:propstat>
			<a:status>HTTP/1.1 200 OK</a:status>
			<a:prop>
				<a:displayname>cyberduck</a:displayname>
				<a:getcontentlength b:dt="int">0</a:getcontentlength>
				<a:getcontenttype>application/octet-stream</a:getcontenttype>
				<a:resourcetype><a:collection/></a:resourcetype>
				<a:getlastmodified b:dt="dateTime.rfc1123">Fri, 20 Mar 2009 12:05:16 GMT</a:getlastmodified>
			</a:prop>
		</a:propstat>
	</a:response>
	<a:response>
		<a:href>https://central.bmdc.org/cyberduck/foo.doc</a:href>
		<a:status>HTTP/1.1 403 Forbidden</a:status>
	</a:response>
	<a:response>
		<a:href>https://central.bmdc.org/cyberduck/~$D%20filename.doc</a:href>
		<a:propstat>
			<a:status>HTTP/1.1 200 OK</a:status>
			<a:prop>
				<a:displayname>~$D filename.doc</a:displayname>
				<a:getcontentlength b:dt="int">0</a:getcontentlength>
				<a:getcontenttype>application/msword</a:getcontenttype>
				<a:resourcetype/>
				<a:getlastmodified b:dt="dateTime.rfc1123">Fri, 20 Mar 2009 08:21:06 GMT</a:getlastmodified>
			</a:prop>
		</a:propstat>
	</a:response>
</a:multistatus>

causing a null pointer for responses that have a Forbidden status and miss any propstat dictionary.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 20, 2009

@dkocher commented

In 058b229.

Loading

@cyberduck cyberduck closed this Mar 20, 2009
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants