Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9553

Creating Lead Source from profile page it redirects to empty profile page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: Trunk, Release Branch 16.11
    • Fix Version/s: 16.11.04
    • Component/s: marketing
    • Labels:
      None

      Description

      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.

      1. OFBIZ-9553.patch
        2 kB
        Aditya Sharma

        Issue Links

          Activity

          Hide
          akash.jain Akash Jain added a comment -

          This has been fixed on
          ofbiz-framework trunk at r#1807597
          release16.11 at r#1807598

          Thanks, Aditya Sharma for your contribution.

          Show
          akash.jain Akash Jain added a comment - This has been fixed on ofbiz-framework trunk at r#1807597 release16.11 at r#1807598 Thanks, Aditya Sharma for your contribution.
          Hide
          aditya.sharma Aditya Sharma added a comment -

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

          Solution:
          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.

          Show
          aditya.sharma Aditya Sharma added a comment - Problem: Response of "createLeadPartyDataSource" was of type 'request'. viewprofile page of lead requires partyId and roleTypeId to show information. Solution: 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.

            People

            • Assignee:
              akash.jain Akash Jain
              Reporter:
              aditya.sharma Aditya Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development