You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mppread: a .mpp with a deleted resource is refused (its calendar record is not recognised) #508
Found while working #445 (review r1, M5). When a resource is deleted in Microsoft Project, the saved .mpp keeps the deleted resource's calendar as a record the current calendar decoder does not recognise ("calendar record 7" in the generated corpus/mpp/assnbaseline/a3-deleted-rows.mpp, from corpus/tools/gen_mpp_assignment_baseline_cases.py). mppread::caldecode refuses the record, so project_from_mpp refuses the whole file: any plan that ever had a resource deleted cannot be opened. This was already true on main before #445; #445 only tests its resource/assignment decoders on that file directly.
Fix: identify how Project marks a deleted resource's calendar in TBkndCal (validate against the a3 case's Project XML, which omits it) and skip it instead of refusing. Test: project_from_mpp opens a3-deleted-rows.mpp and its calendars match Project's XML.
Activity
yeroo commentedon Sep 28, 2026
Triaged priority:P0 (blocks current work).
Merge main e81c008 into issue-508 (#508)
Merge pull request #529 from yeroo/issue-508-mppread-a-mpp-with-a-del…