Hi Fazlan,

What's the exception that you see?

Didn't try webdav, but didn't get the same issue with a vanilla G-Reg
distribution. Only possibility I could think of is that your file does not
have an extension. Try creating a file with the .txt extension, and doing
the same.

If your issue gets fixed, check the webdav code, and see whether it sets the
media-type of the resource properly when it reads from and writes to the
registry. Because, if there is no extension, the UI relies on the media
type, and if the media type is lost during the webdav edit, then the
view/edit links would not be shown. These links are only shown for types of
media that can be viewed/edited.

Thanks,
Senaka.

On Mon, Apr 11, 2011 at 9:11 PM, Fazlan Sabar <[email protected]> wrote:

> Hi Senaka,
>
> I checked this after taking a SVN UP today, and I came across the same
> problem...
>
>
> On Mon, Apr 11, 2011 at 12:01 AM, Fazlan Sabar <[email protected]> wrote:
>
>> Hi Senaka,
>>
>> I encounter an issue with WabDAV when I try to modify a a resource(a
>> file), which is created from the Web UI after mounting from the terminal.
>> This is not seem to be an effect of my changes, I locally reverted my
>> changes and I still managed to recreate the problem. I presume this is due
>> to some eventing thing, I am NOT SURE.
>>
>> Steps to create,
>>
>> 1. Create a file by selecting "Create Text content" (NOTE: Here, the term
>> 'Text' starts with a CAPITAL, rest of the items in the drop-down starts with
>> a CAPITAL and proceeds with SIMPLES), provide a name and few text in the
>> body Add it to a collection.
>> 2. Create a mount point to Greg via WebDAV [1]
>> 3. Navigate to the file created in step 1.
>> 4. Using your favorite editor, do some changes and SAVE it.
>> 5. Now from the Web UI, click on the resource, you'll MIGHT get an
>> exception and see ONLY the 'Download' link, rest of the options to view
>> content or edit the content will NOT be in. Nonetheless, the downloaded
>> content will have latest changes.
>>
>> I am in SVN revision: Revision: 91736, which was taken on 7th morning,
>> please check and let me know if your able to create this in your machine,
>> I'll take an SVN UP tomorrow and try to re-create it.
>>
>> --
>> Thanks,
>> Fazlan
>>
>>
>
>
> --
> Thanks,
> Fazlan
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to