Fatal error on view position page

Bug #1023971 reported by Carl Leitner on 2012-07-12
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sierra Leone HRH Database
Undecided
Juma Lungo
iHRIS Manage
Medium
Carl Leitner

Bug Description

This is being reported on behalf of Juma Lungo

error_message=Fatal Error:Array
(
  [type] => 1
  [message] => Call to a member function setHref() on a non-object
  [file] => /var/lib/iHRIS/sierraleone/4.1/modules/ManagePersonPosition/lib/iHRIS_PageViewPosition.php
  [line] => 85
)

Carl Leitner (litlfred) on 2012-07-12
affects: i2ce → slhrhis
Revision history for this message
Carl Leitner (litlfred) wrote :

I have added checking that the job and supervisor fields are valid objects before setting the href which should avoid the fatal error. This was done in both the Sierra Leone branch as well as the ihris-manage branch.

However, this is really only masking your problem. The job field should be present in the iHRIS_Position form. Can you verify that it is so in magic data?

Cheers.
-carl

Changed in ihris-manage:
status: New → Fix Committed
Changed in slhrhis:
status: New → In Progress
Changed in ihris-manage:
importance: Undecided → Medium
assignee: nobody → Carl Leitner (litlfred)
Changed in slhrhis:
assignee: nobody → Juma Lungo (jlungo)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers