You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Henry Lu <zh...@umich.edu> on 2003/07/31 01:37:09 UTC

unlock method

Is there any one who has a working version of unlock method for a Slide
client? I tried some code, program runs but never unlocks the file.


---------------------------------------------------------------------------
Henry Lu
MSIS                                         phone: (734) 615-6270
University of Michigan Medical School        fax:   (734) 936-3258


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


Re: unlock method

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Sorry (too early in the morning),

please ignore my post. It was related to the UNCHECKOUT method.

> There was a bug in the UNLOCK method in the Slide server, that was
> fixed just a few days ago. That one caused most UNLOCK requests to
> fail, but that was no client problem.
> 
> Regards,
> Ingo
> 
> > Is there any one who has a working version of unlock method for a Slide
> > client? I tried some code, program runs but never unlocks the file.
> > 
> > 
> > ---------------------------------------------------------------------------
> > Henry Lu
> > MSIS                                         phone: (734) 615-6270
> > University of Michigan Medical School        fax:   (734) 936-3258


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


Re: unlock method

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
There was a bug in the UNLOCK method in the Slide server, that was
fixed just a few days ago. That one caused most UNLOCK requests to
fail, but that was no client problem.

Regards,
Ingo

> Is there any one who has a working version of unlock method for a Slide
> client? I tried some code, program runs but never unlocks the file.
> 
> 
> ---------------------------------------------------------------------------
> Henry Lu
> MSIS                                         phone: (734) 615-6270
> University of Michigan Medical School        fax:   (734) 936-3258
> 
> 
> ---------------------------------------------------------------------


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


Re: unlock method

Posted by Neil de Hoog <ne...@lunatech.com>.
Hi Ingo,

> Apart from the single fix you describe, do you have further patches
> that get it working with the current Slide client CVS code. If so, it
> would be great if you could contribute it back to Slide. Then more
> people from the Slide community would probably be glad to assist you
> in further development of the webdavgui part or the plug-in.
As you probably have noticed the sources of that plugin are available as well 
so the contribution is already there. 

I have only changed a few classes. 

One is LockdiscoveryProperty which I mailed about this Monday. Since I am 
using Apache2 DAV server I am not sure the fixes are valid according to the 
RFC (but I think they are).

Another one is SPWebFolder about which I mailed a long time ago (but nobody 
seemed to care about the webdav.ui package). The change is very small

Another one is SPPropFindMethod about which I mailed a long time ago as well. 
Here too the change is very small

Note that I am still using an older version of Slide with an old version of 
apache http client so sending patches might not be very useful. 

regards,

-- 

Neil de Hoog

neil@lunatech.com



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


Re: unlock method

Posted by Neil de Hoog <ne...@lunatech.com>.
Hi Ingo,

> Apart from the single fix you describe, do you have further patches
> that get it working with the current Slide client CVS code. If so, it
> would be great if you could contribute it back to Slide. Then more
> people from the Slide community would probably be glad to assist you
> in further development of the webdavgui part or the plug-in.
As you probably have noticed the sources of that plugin are available as well 
so the contribution is already there. 

I have only changed a few classes. 

One is LockdiscoveryProperty which I mailed about this Monday. Since I am 
using Apache2 DAV server I am not sure the fixes are valid according to the 
RFC (but I think they are).

Another one is SPWebFolder about which I mailed a long time ago (but nobody 
seemed to care about the webdav.ui package). The change is very small

Another one is SPPropFindMethod about which I mailed a long time ago as well. 
Here too the change is very small

Note that I am still using an older version of Slide with an old version of 
apache http client so sending patches might not be very useful. 

regards,

-- 

Neil de Hoog

neil@lunatech.com



Re: unlock method

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Hello Neil,

I noticed that you are maintaining the WebDAV plug-in for the Morphon
XML editor and therefore are using the webdavgui stuff.

Apart from the single fix you describe, do you have further patches
that get it working with the current Slide client CVS code. If so, it
would be great if you could contribute it back to Slide. Then more
people from the Slide community would probably be glad to assist you
in further development of the webdavgui part or the plug-in.

Regards,
Ingo

> > Is there any one who has a working version of unlock method for a Slide
> > client? I tried some code, program runs but never unlocks the file.
> If you are refering to the classes in org.apache.webdav.ui then yes I 
> have unlocking working.
> 
> I posted a mail on Monday that the LockdiscoveryProperty is broken. It 
> does not parse the locktoken correctly out of the server response and so 
> the WebFile cannot unlock itself. The message also contains notes on how 
> I fixed it.
> 
> regards,
> 
> -- 
> Neil de Hoog
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


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


Re: unlock method

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Hello Neil,

I noticed that you are maintaining the WebDAV plug-in for the Morphon
XML editor and therefore are using the webdavgui stuff.

Apart from the single fix you describe, do you have further patches
that get it working with the current Slide client CVS code. If so, it
would be great if you could contribute it back to Slide. Then more
people from the Slide community would probably be glad to assist you
in further development of the webdavgui part or the plug-in.

Regards,
Ingo

> > Is there any one who has a working version of unlock method for a Slide
> > client? I tried some code, program runs but never unlocks the file.
> If you are refering to the classes in org.apache.webdav.ui then yes I 
> have unlocking working.
> 
> I posted a mail on Monday that the LockdiscoveryProperty is broken. It 
> does not parse the locktoken correctly out of the server response and so 
> the WebFile cannot unlock itself. The message also contains notes on how 
> I fixed it.
> 
> regards,
> 
> -- 
> Neil de Hoog
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


Re: unlock method

Posted by Neil de Hoog <ne...@lunatech.com>.
> Is there any one who has a working version of unlock method for a Slide
> client? I tried some code, program runs but never unlocks the file.
If you are refering to the classes in org.apache.webdav.ui then yes I 
have unlocking working.

I posted a mail on Monday that the LockdiscoveryProperty is broken. It 
does not parse the locktoken correctly out of the server response and so 
the WebFile cannot unlock itself. The message also contains notes on how 
I fixed it.

regards,

-- 
Neil de Hoog


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