Menu

#240 Fixed duration tasks without assignees are shown as split in MS Project

v1.0_(example)
open
nobody
export (2)
5
2014-05-09
2014-04-15
No

Please see attached simple program that generates an XML file with one task only (I attach the generated XML too). Note that it is crucial that task is set as fixed duration, with the default type everything appears fine in MS Project. The task in Gantt in MS Project appears as being 1 day work and the remaining 4 days as suspended (my terminology is probably not correct as I'm not familiar with MS Project at all).

Tested with MS Project 2013, 2010 and 2007: in all cases this behavior can be reproduced.

1 Attachments

Discussion

  • Paul Pogonyshev

    Paul Pogonyshev - 2014-04-15

    Here is the XML output of the simple program above.

     
  • Paul Pogonyshev

    Paul Pogonyshev - 2014-04-15

    And here is how it looks in MS Project 2013 (German, but that's not important' "40 Std." stands for "40 hrs", task duration). See the Gantt chart.

     
  • Paul Pogonyshev

    Paul Pogonyshev - 2014-05-09

    The following code seems to "fix" it for me:

    ResourceAssignment  dummy_assignment = task.addResourceAssignment ((Resource) null);
    dummy_assignment.setRemainingWork (dummy_assignment.getWork ());
    

    I think MPXJ should do something to that effect itself, so that users of the libraries don't have to do such (completely unobvious and seemingly unnecessary) tricks themselves.

     

Log in to post a comment.

MongoDB Logo MongoDB