[ 
https://issues.apache.org/jira/browse/OFBIZ-7518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341107#comment-15341107
 ] 

Ankush Upadhyay commented on OFBIZ-7518:
----------------------------------------

Further researched on this and found that there are some more places from where 
createProductStoreRole calls but good thing is all wrapper methods creates role 
first and then call createProductStoreRole service so we don't need to worry 
about those places.
Here are the wrapper methods:
1. createUser from UserEvents.xml
2. createEbayAccount from EbayServices.xml
3. createCustomer from CustomerEvents.xml
4. createCustomerProfile from  CustomerEvents.xml

> Unable to create Product Store Roles from Party manager
> -------------------------------------------------------
>
>                 Key: OFBIZ-7518
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7518
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Upcoming Branch
>            Reporter: Ankush Upadhyay
>         Attachments: EnsureAndCreateProductStoreRole.patch, 
> ProductStoreRoleError.png, RenderPartyAssignedRolesInDropDown.patch
>
>
> System throws error while adding new product store role.
> Steps to reproduce:
> 1. Login to party manager and go to Company party profile page.
> 2. Navigate to Product Store Roles tab.
> 3. Try to create new product store role for any product store and any 
> roleTypeId.
> 4. System should show violation of foreign key constraint error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to