Re: "Insert" command

2013-06-22 Thread Rajath Shashidhara
Hello, I'm unable to access opengrok. "Insert" command when title is not set in webdav ucp: OSL_ENSURE( sal_False, "Content::insert - Title missing!" ); What is this error? Or what is the equivalent java error to throw? On Fri, Jun 21, 2013 at 1:39 PM, Rajath Shashidhara < rajaths.raja...@gmai

Re: "Insert" command

2013-06-21 Thread Rajath Shashidhara
Hello Juergen, the decription of "insert" some what makes it clear: This command inserts a new content. It commits the process of // creating a new content via executing the command "createNewContent" // and initializing it via setting properties, afterwards. // The command is not called on th

Re: "Insert" command

2013-06-21 Thread Rajath Shashidhara
Hello Juergen, If I have to create new content, where do I obtain the properties of the content. InsertCommandArgument2 has no attribute to store the content Properties. For example to insert a folder - what is its "Title" ? On Fri, Jun 21, 2013 at 12:49 PM, Jürgen Schmidt wrote: > On 6/21/13

Re: "Insert" command

2013-06-21 Thread Jürgen Schmidt
On 6/21/13 9:16 AM, Jürgen Schmidt wrote: > On 6/21/13 9:09 AM, Rajath Shashidhara wrote: >> Hello Juergen, >> >> I mean if "getPropertyValues" is requested for non-existing content what is >> the exception that must be thrown? > > I have to check the code of another UCP to say it exactly, I can't

Re: "Insert" command

2013-06-21 Thread Jürgen Schmidt
On 6/21/13 9:09 AM, Rajath Shashidhara wrote: > Hello Juergen, > > I mean if "getPropertyValues" is requested for non-existing content what is > the exception that must be thrown? I have to check the code of another UCP to say it exactly, I can't remember for sure... But the UCP handles or commu

Re: "Insert" command

2013-06-21 Thread Rajath Shashidhara
Hello Juergen, I mean if "getPropertyValues" is requested for non-existing content what is the exception that must be thrown? On Fri, Jun 21, 2013 at 12:09 PM, Jürgen Schmidt wrote: > On 6/21/13 8:05 AM, Rajath Shashidhara wrote: > > Hello, > > > > The explanation for "insert" command is not cl

Re: "Insert" command

2013-06-20 Thread Jürgen Schmidt
On 6/21/13 8:05 AM, Rajath Shashidhara wrote: > Hello, > > The explanation for "insert" command is not clear to me. > > If I call "insert" for a document, then I'll have to set the InputStream to > to existing document. What happens If I call "insert" for a folder? you create a folder > > Also