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 Warwick Burrows <wa...@e2open.com> on 2004/10/06 23:35:45 UTC
RE: Using PropFind (Webdav) returns long empty string of blanks..
.
Have you already put the target document under version control with
versioncontrolMethod()? I guess that both checked-in and checked-out will be
null (spaces??) if the doc isn't under version control. Have you tried
getting checked-in on the same resource when its checked in? Does that
return the correct version string?
If it is under version control already then I can only guess that this is a
bug. I would move up to 2.1b1 if I was you. There's a lot of bug fixes
between 2.0 and 2.1b1 that you may want to pick up. I think the consensus
from the slide developers is that 2.1b1 is a more mature product and the
first thing most people say to users of 2.0 is to move up. I'm fetching the
checked-in property with my 2.1b1 server/client and all works well.
Warwick
> -----Original Message-----
> From: Nick Longinow [mailto:nicklonginow@vanhooseassociates.com]
> Sent: Wednesday, October 06, 2004 3:39 PM
> To: 'Slide Users Mailing List'
> Subject: Using PropFind (Webdav) returns long empty string of
> blanks...
>
>
> Hi
>
>
>
> Code:
>
>
>
> Enumeration props = wdr.propfindMethod( "checked-out" );
>
>
> while (props.hasMoreElements())
>
>
> {
>
>
> Object k = props.nextElement();
>
> // Object k is now a " " string like this.
>
> }
>
>
>
> When I execute propfindMethod( "checked-out") and the object
> is not checked out, I get a Vector back for this enumeration,
> where the first and only element is a null. If the resource
> is checked out, I get back a long blank
> string, like " ". As if it found the requested
> property, but
> shows it up as a blank. I am using Slide 2.0.
>
>
>
> Am I doing something wrong when I look for properties ?
>
>
>
> Nick
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org