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

Employment Applications in Party manager does not list any record even if they exist.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Upcoming Release, 16.11.02
    • Component/s: party
    • Labels:
      None

      Description

      Steps to reproduce:
      1. Go to party manager.
      2. Find party Company (or any party) and navigate to Employment Application tab.
      3. Now create Employment Application from Add Employment Applications. It will show newly created Employment Application.
      4. Navigate to Employment Application again, list is not updated with newly created Employment Application (in fact it never has any Employment Application listed even if it exists).

      1. OFBIZ-9220.patch
        0.8 kB
        Aditya Sharma

        Activity

        Hide
        aditya.sharma Aditya Sharma added a comment -

        Problem:
        1. Employment Application tab redirects to EditEmploymentApps.
        2. EditEmploymentApps includes ListEmploymentApps form to list records.
        3. ListEmploymentApps form list records by using PerformFind service.
        4. inputFields passed to PerformFind service with employmentAppCtx,
        employmentAppCtx should contain referredByPartyId in order to get all application related to given Party on the contrary in present scenario applicationId is set.
        5. applicationId is only in parameters when you create a new Employment Application.

        Solution:
        On EditEmploymentApps screen employmentAppCtx.referredPartyId is set to parameters.partyId in contrast to applicationId. So that it list all application related to given partyId.

        Show
        aditya.sharma Aditya Sharma added a comment - Problem: 1. Employment Application tab redirects to EditEmploymentApps. 2. EditEmploymentApps includes ListEmploymentApps form to list records. 3. ListEmploymentApps form list records by using PerformFind service. 4. inputFields passed to PerformFind service with employmentAppCtx, employmentAppCtx should contain referredByPartyId in order to get all application related to given Party on the contrary in present scenario applicationId is set. 5. applicationId is only in parameters when you create a new Employment Application. Solution: On EditEmploymentApps screen employmentAppCtx.referredPartyId is set to parameters.partyId in contrast to applicationId. So that it list all application related to given partyId.
        Hide
        deepak.dixit Deepak Dixit added a comment -

        This has been done at
        Framework Trunk at r#1791490
        Release 16.11 at r#r791492

        Thanks Aditya Sharma for you contribution.

        Show
        deepak.dixit Deepak Dixit added a comment - This has been done at Framework Trunk at r#1791490 Release 16.11 at r#r791492 Thanks Aditya Sharma for you contribution.

          People

          • Assignee:
            deepak.dixit Deepak Dixit
            Reporter:
            aditya.sharma Aditya Sharma
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development