You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arvind Singh Tomar (JIRA)" <ji...@apache.org> on 2019/04/27 09:06:00 UTC

[jira] [Commented] (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.

    [ https://issues.apache.org/jira/browse/OFBIZ-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827508#comment-16827508 ] 

Arvind Singh Tomar commented on OFBIZ-10835:
--------------------------------------------

[~qepkwwl], I have checked and tree structure does not show the person names rather their designation and more detailed information can be accessed by going through the link and opening subsequent detail pages.

If we can come up with a standard/proposed tree node information structure to display name of the persons as well. It can be done as you have shared.

> 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.
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10835
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10835
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>    Affects Versions: 16.11.04
>            Reporter: zhangqing
>            Assignee: Arvind Singh Tomar
>            Priority: Trivial
>
> 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();



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)