Hi,

On Wed, Dec 10, 2014 at 8:03 AM, Bruce Edge
<[email protected]> wrote:
> I¹m not seeing all the files I¹m writing out to webdav from a bundle
> thread and I¹m losing files....

To reformulate, IIUC you are running java code that only works with
File objects, and those are actually stored in Sling's JCR repository
because your code works on a WebDAV mounted folder?

If yes, I would stop (in a debugger) when detecting a failure, and
examine the Sling repository at this to see exactly which nodes/files
were created and what their state is. I suspect there might be name
collisions which mean the JCR content is not what you expect. Or
worse, concurrency issues, but our WebDAV stuff is fairly stable and
well tested code so it would be surprising to discover this now.

Doing this processing inside Sling, accessing the data via JCR is
probably more efficient - but you're right that this should also work
under WebDAV.

It's hard to debug your code by reading it here, if you can reduce to
the smallest thing that fails we might be able to help better.

-Bertrand

Reply via email to