Menu

#332 Asta Lag sign incorrect

v1.0_(example)
closed-fixed
Jon Iles
None
5
2018-11-06
2018-10-25
Dave McKay
No

Hi again Jon,

Running some more Asta Powerprojects into MSPDI XML, and we've come across another anomaly.

A fairly basic project with links, lags, and constraints, when run through MPXJ into XML, does not show correctly in Microsoft Project due to the lags, apparently, being reversed, i.e. -2400 minutes becomes 2400 minutes, and vice versa.

If XML is saved from Powerproject, and then run through MPXJ into XML, then all appears well.

For some reason, Powerproject copes with both!

Anyway, attached please find (... deep breath ...):

  1. The source Powerpoint project
  2. The XML saved from Powerpoint
  3. The XML saved from MPXJ from the source Powerpoint project
  4. The XML saved from MPXJ from the XML saved from Powerpoint
  5. A potential patch which works here

Regards,

Dave.

4 Attachments

Discussion

  • Dave McKay

    Dave McKay - 2018-10-25

    Sorry, forgot the patch!

     
  • Jon Iles

    Jon Iles - 2018-11-06

    I had a closer look at this. I think the issue is that I'd taken a naive approach to handling the two lag values present in Asta, rather than actually analysing how Asta maps those values itself when you generate an MSPDI file. I've updated the code so it should behave in the same way that Asta does. This diff also includes the constraint mapping change.

    https://github.com/joniles/mpxj/compare/asta_changes

    can you give this a try and let me know if it works for you?

     

    Last edit: Jon Iles 2018-11-06
    • Dave McKay

      Dave McKay - 2018-11-06

      Cheers, Jon, that patch gives me the output I'm expecting.

       
  • Jon Iles

    Jon Iles - 2018-11-06
    • assigned_to: Jon Iles
     
  • Jon Iles

    Jon Iles - 2018-11-06
    • status: open --> closed-fixed
     
  • Jon Iles

    Jon Iles - 2018-11-06

    Code now in Git fixes this issue.

     

Log in to post a comment.

MongoDB Logo MongoDB