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

In the main interface of the HR module, when the organization structure is displayed in a tree, the name of the person is not displayed.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 16.11.04
    • Fix Version/s: None
    • Component/s: humanres
    • Labels:
      None

      Description

      HR模块的Main界面中,以树状显示组织结构时,没有显示出人员的名称
      原因是:
      /ofbiz/applications/humanres/src/main/java/org/apache/ofbiz/humanres/HumanResEvents.java中的getCurrentEmployeeDetails方法中有2个参数错误。
      GenericValue memCtx = EntityQuery.use(delegator).from("Person").where("partyId", partyId).queryOne();
      应为:
      GenericValue memCtx = EntityQuery.use(delegator).from("Person").where("partyId", memberId).queryOne();

      GenericValue memGroupCtx = EntityQuery.use(delegator).from("PartyGroup").where("partyId", partyId).queryOne();
      应为:
      GenericValue memGroupCtx = EntityQuery.use(delegator).from("PartyGroup").where("partyId", memberId).queryOne();

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              qepkwwl zhangqing
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: