[Dev] Bug in APPM ES branch GenricExecuter.java class

2014-12-04 Thread Chathura Dilan
Hi All, There is a bug in APPM ES branch[1] which does not allow mobileapps to attach permissions which is defined in the LifeCycle. This bug is inherited from ES 1.0.0 and it is fixed in ES 2.0.0. However webapps are working fine with a workaround in web app extension while the mobile apps

Re: [Dev] Bug in APPM ES branch GenricExecuter.java class

2014-12-04 Thread Ruwan Yatawara
Hi Chathura, The two code blocks you have listed seem to be exactly the same. But i believe the fix you are referring to is passing the teantDomain instead of the tenantId to the RealmContext.getRealmService().getTenantManager().getTenantId method, is it? Thanks and Regards, Ruwan On 4 Dec

Re: [Dev] Bug in APPM ES branch GenricExecuter.java class

2014-12-04 Thread Chathura Dilan
Hi Ruwan, Yes, Tenant name should be passed instead of tenant ID. That is a bug in ES 1.0 which makes that java code to malfunction. It is confirmed by SameeraM. On Fri, Dec 5, 2014 at 8:57 AM, Ruwan Yatawara ruw...@wso2.com wrote: Hi Chathura, The two code blocks you have listed seem to be