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

WorkEffort shows error on adding party with specific role to Timesheet.

    Details

      Description

      1) Go to WorkEffort component.
      2) Click on Timesheet tab https://localhost:8443/workeffort/control/FindTimesheet.
      3) Click on Find button.
      4) Choose any timesheet https://localhost:8443/workeffort/control/EditTimesheet?timesheetId=10000
      5) Click on Parties Tab https://localhost:8443/workeffort/control/EditTimesheetRoles?timesheetId=10000
      6) Choose any party from look up and click on Add.
      7) Error will be displayed on screen.

      1. OFBIZ-9317.patch
        0.9 kB
        Jagpreet Kaur
      2. screenshot-1.png
        1.26 MB
        Jagpreet Kaur

        Activity

        Hide
        Jagpreet Kaur Jagpreet Kaur added a comment -

        Any party is associated to a Timesheet on specific role, hence it is necessary that party should be in that role first (PartyRole).
        Added code which make sure the party should be in given role (i.e service call to ensurePartyRole).

        Show
        Jagpreet Kaur Jagpreet Kaur added a comment - Any party is associated to a Timesheet on specific role, hence it is necessary that party should be in that role first (PartyRole). Added code which make sure the party should be in given role (i.e service call to ensurePartyRole).
        Hide
        arunpati Arun Patidar added a comment -

        Committed revision 1801350.

        Thanks Jagpreet for your contribution.

        Show
        arunpati Arun Patidar added a comment - Committed revision 1801350. Thanks Jagpreet for your contribution.
        Hide
        mbrohl Michael Brohl added a comment -

        Needs backporting.

        Show
        mbrohl Michael Brohl added a comment - Needs backporting.

          People

          • Assignee:
            arunpati Arun Patidar
            Reporter:
            Jagpreet Kaur Jagpreet Kaur
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development