Description
In Project Management, if you import a project created in v2 into v3 and try to view the gantt chart it does not display properly. The following message appears in the system log:
ProjectGanttSchedulePage::_returnItemsFromptm null projectTasks
Also, the project tasks with sub-tasks may not roll up correctly.
ProjectGanttSchedulePage::_returnItemsFromptm null projectTasks
Also, the project tasks with sub-tasks may not roll up correctly.
Steps to Reproduce
- Open Project Management.
- Import a project plan from v2 into v3.
- Click on the Gantt Chart UI action.
Workaround
The attached script file named update_migrate_projects.js can be used to migrate the v2 projects to v3 individually.
The sys_id needs to be replaced with the desired project sys_id at line 7:
roots.addQuery("sys_id", "SYS_ID");
In case the source [pm_project] table contains only projects to be migrated, the sys_id condition can be removed completely.
Related Problem: PRB595181