Hi Jon, Thanks for the update. Just a correction, I had tested this on latest MPXJ version(7.2), there this issue seems to be fixed. Actually, we recently upgraded from 5.13 to 7.2. Based on this observation it appears that the issue is fixed somewhere between 5.13 to 7.2. Would you please check if you are able to reproduce this issue on MPXJ (5.13) and if you are able to, could you please point me to the version where this issue was addressed? Best Regards, Nimish.
Hi Jon, Thanks for reverting. So we are using JAVA (8). Below is the snippet of code used: public void checkTasks (ProjectFile mpxjFile, ErrorReport er) throws WTException, MPXJException { List<Task> tasks = mpxjFile.getAllTasks(); Iterator<Task> it = tasks.iterator(); while (it.hasNext()) { Task task = it.next(); if (task.getChildTasks().size() > 0) { List<net.sf.mpxj.ResourceAssignment> assignments = task.getResourceAssignments(); if (assignments.size() > 0) { Object[] params = {task.getName()};...
getChildTasks( ) API is returning '1' for leaf level tasks.