Hi Shiva,

Are you using a custom update view?

Can you verify if the endpoint you are calling in the update view has the
type information? (According to the error the type is been resolved (empty
string).

The endpoint should be: /apis/assets?type=<your type>

Thank You,
Sameera



On Tue, Jan 6, 2015 at 12:41 AM, Manuranga Perera <m...@wso2.com> wrote:

> let's take a look. I am on the 1st floor.
>
> On Mon, Jan 5, 2015 at 12:59 PM, Shiva Balachandran <sh...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> I created a new asset type. I am able to create and view the assets. When
>> i try to edit the asset and update, a prompt is displayed showing "unable
>> to  update asset".
>>
>> The following is logged in the console
>>
>> [2015-01-05 12:49:39,957] ERROR {rxt.core} -  Unable to locate
>> assetResources for tenant: -1234 and type:
>> [2015-01-05 12:49:39,957] ERROR {assets_api_router} -  Unable to locate
>> assetResources for tenant: -1234 and type:
>>
>> Is this shown because i do not have the adequate privileges to edit the
>> asset? In that case, i did try creating a new asset as an admin and tried
>> to edit, update the asset and i encountered the same error message. This is
>> encountered when changing any of the asset values or attaching a different
>> thumbnail.
>>
>> Why is this error prompted? I am using ES 2.0 snapshot.
>>
>> Thank you.
>>
>> Regards,
>> --
>> Shiva Balachandran
>> Software Engineer
>> WSO2 Inc.
>>
>> Mobile - +94 774445788
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to