Aditya Sharma updated OFBIZ-9553:
    Attachment: OFBIZ-9553.patch

Response of "createLeadPartyDataSource" was of type 'request'. viewprofile page 
of lead requires partyId and roleTypeId to show information.

Changed response of "createLeadPartyDataSource" with type as  request-redirect 
and redirected parameters partyId & roleTypeId. Added roleTypeId as hidden 
parameter in AddLeadPartyDataSource form of LeadForms.xml required for 
viewprofile page.

Additional change:
dataSourceId made a required field.

> Creating Lead Source from profile page it redirects to empty profile page
> -------------------------------------------------------------------------
>                 Key: OFBIZ-9553
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9553
>             Project: OFBiz
>          Issue Type: Bug
>          Components: marketing
>    Affects Versions: Trunk, Release Branch 16.11
>            Reporter: Aditya Sharma
>            Priority: Trivial
>         Attachments: OFBIZ-9553.patch
> Steps to reproduce:
> 1. Go to SFA component (https://demo-trunk.ofbiz.apache.org/sfa/control/main).
> 2. Click on the Lead link in the sub menu 
> (https://demo-trunk.ofbiz.apache.org/sfa/control/FindLeads).
> 3. Click on Party Id link 
> (https://demo-trunk.ofbiz.apache.org/sfa/control/viewprofile?roleTypeId=LEAD&partyId=DemoLead)
> 4. Fill the required fields and click on Add 
> button.(https://demo-trunk.ofbiz.apache.org/sfa/control/createLeadPartyDataSource)
> It directs to the Profile page that shows no information with a success 
> message.

This message was sent by Atlassian JIRA

Reply via email to