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

Error when displaying employee training or leave list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Upcoming Branch
    • Upcoming Branch
    • humanres
    • None

    Description

      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:

      <include-form name="ListTrainingStatus" location="component://humanres/widget/forms/PersonTrainingForms.xml"/>
      

      and

      <include-form name="ListEmplLeaves" location="component://humanres/widget/forms/EmployeeForms.xml"/>
      

      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.

      Attachments

        Issue Links

          Activity

            People

              danwatford Daniel Watford
              danwatford Daniel Watford
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: