Hi Sameera,

We too getting permissions exception in permission.js during product
startup. I think the issue mentioned by Chandana is same as this. Will this
be fix soon?

ERROR - WebAppFileManager Unsupported parameter to the File constructor :
class org.mozilla.javascript.Undefined
[2015-05-27 11:26:02,175] ERROR - app:js
org.mozilla.javascript.WrappedException: Wrapped
org.jaggeryjs.scriptengine.exceptions.ScriptException: Unsupported
parameter to the File constructor : class org.mozilla.javascript.Undefined
(<rxt>/scripts/permissions/permissions.js#407)

Thanks,
Harsha

On Wed, May 27, 2015 at 11:28 AM, Sameera Medagammaddegedara <
[email protected]> wrote:

> Hi Chandana,
>
> First, I am sorry about the late response.
>
> Secondly, this is caused by a incorrect variable name at
> https://github.com/wso2/carbon-store/blob/master/jaggery-modules/rxt/module/scripts/permissions/permissions.js#L407
>
>
> Thank You,
> Sameera
>
> On Tue, May 26, 2015 at 7:31 PM, Chandana Napagoda <[email protected]>
> wrote:
>
>> Hi Sameera,
>>
>> In today's product-greg build, we have noticed that assert types are not
>> loading at all even for super admin user in ES based publisher UI and can
>> see below logs[1]. Are we missing any changes you have done recently?
>>
>> [1].2015-05-26 18:58:12,190] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,190] ERROR {rxt-permissions} -  Unable to locate a
>> mapping for permission ASSET_LIST
>> [2015-05-26 18:58:12,274]  INFO {rxt-permissions} -  Checking permission
>> ASSET_CREATE for admin tenantId -1234 type soapservice
>> [2015-05-26 18:58:12,274] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_CREATE
>> [2015-05-26 18:58:12,274] ERROR {rxt-permissions} -  Permission
>> ASSET_CREATE not was not found
>> [2015-05-26 18:58:12,275]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,276]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type policy
>> [2015-05-26 18:58:12,276] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,276] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,276]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,276]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type restservice
>> [2015-05-26 18:58:12,276] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,276] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,276]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,277]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type schema
>> [2015-05-26 18:58:12,277] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,277] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,277]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,278]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type soapservice
>> [2015-05-26 18:58:12,278] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,278] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,278]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,278]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type swagger
>> [2015-05-26 18:58:12,278] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,278] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,278]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,278]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type wadl
>> [2015-05-26 18:58:12,279] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,279] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,279]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,279]  INFO {rxt-permissions} -  Checking permission
>> ASSET_LIST for admin tenantId -1234 type wsdl
>> [2015-05-26 18:58:12,279] ERROR {rxt-permissions} -  Unable to locate
>> permission for  ASSET_LIST
>> [2015-05-26 18:58:12,279] ERROR {rxt-permissions} -  Permission
>> ASSET_LIST not was not found
>> [2015-05-26 18:58:12,279]  INFO {rxt-permissions} -  Authorized :false
>> [2015-05-26 18:58:12,284]  INFO {JAGGERY.app-scripts.init-scripts.app:js}
>> -  Association populator list
>>
>> Regards,
>> Chandana
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  [email protected] <[email protected]>**Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :    http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>*
>>
>>
>
>
> --
> Sameera Medagammaddegedara
> Software Engineer
>
> Contact:
> Email: [email protected]
> Mobile: + 94 077 255 3005
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to