[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    Re: client webdav lib - resource not found
From:       Tiffany Dodge <tiff () ubermind ! com>
Date:       2007-03-15 23:08:52
Message-ID: 22F398FD-95B7-471A-AA10-ED5CF81C92EE () ubermind ! com
[Download RAW message or body]

Correcting a typo below (the escapedHref value - removing the comma)

On Mar 15, 2007, at 3:54 PM, Tiffany Dodge wrote:

> Hello,
>
> I've run into a problem where slide can't find a file right after  
> it has been uploaded.  The file does exist on the DAV server (I  
> checked).  FYI, I am using slide 2.1 with Apache 1.3.
>
> Basically, I do this ...
> - upload a file
> - get the childResources
> - and then try to getResource(filename) for the file that I just  
> uploaded.
>
> From my debugging (which could totall be wrong), the problem is in  
> WebdavResource.java, in the method setWebdavProperties ...
>
>             int lenDiff = escapedHref.length() - httpURLPath.length();
>
> lenDiff is zero, but the paths are completely different.  For  
> example, they could be ...
>
> escapedHref = /webdavtest/abcdefghijklm
> httpURLPath = /webdavtest/uploading/xxy
>
> So the local var "itself" ends up being true in this case and the  
> workingResource is not added to the childResources at the end of  
> the method, as it should.  That in turn means that the resource  
> cannot be found.
>
> Has anyone else experienced this?  If so, what did you do to fix  
> it?  Any help would be appreciated.
>
> Thanks,
> Tiff
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic