Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
16.11.04
-
None
-
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
Issue Links
- is superceded by
-
OFBIZ-11677 Tree on main page of the humanres component doesn't show names of persons
- Closed