You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Daniel Watford (Jira)" <ji...@apache.org> on 2022/11/13 17:45:00 UTC

[jira] [Created] (OFBIZ-12710) Error when displaying employee training or leave list

Daniel Watford created OFBIZ-12710:
--------------------------------------

             Summary: Error when displaying employee training or leave list
                 Key: OFBIZ-12710
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12710
             Project: OFBiz
          Issue Type: Bug
          Components: humanres
    Affects Versions: Upcoming Branch
            Reporter: Daniel Watford


An NPE is displayed when viewing an employee's training leave lists. Examples:

[https://localhost:8443/humanres/control/EditEmployeeTrainings?partyId=TestingTeamMember1]

[https://localhost:8443/humanres/control/EditEmployeeLeaves?partyId=TestingTeamMember1]

This error is due to the following lines in EmployeeScreens.xml:
{code:xml}
<include-form name="ListTrainingStatus" location="component://humanres/widget/forms/PersonTrainingForms.xml"/>
{code}
and
{code:xml}
<include-form name="ListEmplLeaves" location="component://humanres/widget/forms/EmployeeForms.xml"/>
{code}
The forms referred to by the screens have been converted to grids. The above lines in EmployeeScreens.xml should therefore be changed to 'include-grid' elements.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)