Hi
This is due to the user name null issue in carbon context.  CarbonContext.
getCurrentContext().getUsername() returned null value. Asela has fixed the
issue at r181420. Updating org.wso2.carbon.server.admin component resolved
the issue in user role creation. Thanks Asela for fixing the issue. Now
Automation tests can be executed successfully.

Thanks,
Nuwanw


On Fri, Aug 16, 2013 at 10:55 AM, Vanjikumaran Sivajothy <[email protected]>wrote:

> Thank you Nunwan for assisting on this matter
>
>
> On Fri, Aug 16, 2013 at 10:54 AM, Nuwan Wimalasekara <[email protected]>wrote:
>
>> I think user role creation logic has changed. Because we create a role
>> with all permissions before executing tests. I will look into this.
>>
>> Thanks,
>> Nuwanw
>>
>>
>> On Fri, Aug 16, 2013 at 10:40 AM, Vanjikumaran Sivajothy 
>> <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Last evening i packed the ESB pack and try to run the automation test.
>>> Nevertheless, it was not possible to test due to ERROR - UserRealmProxy
>>> You have not privilege to create a role with Admin permission.
>>>
>>> I tried to login as super user and able to create a user with admin
>>> privileges. However it is not possible via Automation Test.
>>>
>>> Please refer the attachment for error stack that I got.
>>>
>>>
>>> Thank you in advance for your advice!
>>>
>>> --
>>> Sivajothy Vanjikumaran
>>>  *Senior Software Engineer*
>>> *Integration Technologies Team*
>>> *WSO2 Inc. http://wso2.com/*
>>> *Mobile:(+94)777219209**
>>> *[image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
>>> Twitter] <https://twitter.com/vanjikumaran> [image: 
>>> LinkedIn]<http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> 
>>> [image:
>>> Blogger] <http://vanjikumaran.blogspot.com/> [image: 
>>> SlideShare]<http://www.slideshare.net/vanjikumaran>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
> Sivajothy Vanjikumaran
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com/*
> *Mobile:(+94)777219209**
> *[image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
> Twitter] <https://twitter.com/vanjikumaran> [image: 
> LinkedIn]<http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> 
> [image:
> Blogger] <http://vanjikumaran.blogspot.com/> [image: 
> SlideShare]<http://www.slideshare.net/vanjikumaran>
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to