[
https://issues.apache.org/jira/browse/OFBIZ-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630915#action_12630915
]
Jacques Le Roux commented on OFBIZ-1955:
----------------------------------------
In r695281 I commited a fix in the relationship creation committed in r695268
: should be DISTRIBUTION_CHANNEL and not CUSTOMER_REL
Note that we could also reverse the relationship using CUSTOMER_REL
partyRelationshipTypeId but in this case we will have to use a hack (user
system) for the creation permission and to revert this hack after its use in
the CreatePartyRelationship service
> Create a party relationship between a new customer and the product store in
> the eCommerce application
> -----------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-1955
> URL: https://issues.apache.org/jira/browse/OFBIZ-1955
> Project: OFBiz
> Issue Type: Improvement
> Components: ecommerce
> Affects Versions: SVN trunk, Release Branch 4.0
> Reporter: Patrick Antivackis
> Assignee: Jacques Le Roux
> Priority: Trivial
> Fix For: SVN trunk
>
> Attachments: OFBIZ-1955.patch
>
>
> When a new user is creating its own account in an eCommerce application, a
> CUSTOMER profile is created to this new user, but no relationship is made
> between this new user and the product store.
> The enclosed patch will create a relationshop of type CUSTOMER_REL between
> the user (partyIdFrom) with the profile CUSTOMER (roleTypeIdFrom) and the
> data store (partyIdTo) with profile _NA_ (roleTypeIdTo)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.