Importing tasks via XOG results in duplicate tasks.

Document ID : KB000051679
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When updating project tasks via XOG, existing tasks are not updated.

New, duplicate, tasks are created.

Steps to Reproduce:

Create a project with tasks (make sure the tasks have no task IDs assigned)
XOG it out
XOG it back into the same server

Result:

Created tasks are listed twice, while resources and effort are not.

Solution:

XOG task write operations are required to have a taskID defined.
If taskID is empty, XOG will create a new task instead.
The only way to overcome this situation is by filling the taskID in the XOG write files.

Workaround:

In order to avoid these duplication you can do the following:
In studio, on the task object, mark the task ID attribute as required.
This will force the user to provide a task ID in order to create a task.
Once the ID has been provided, the duplication will be avoided.
The export of internalID is for diagnostic purposes and is ignored on import.