Microsoft Project Interface Error: An Import Error Occured. The element <ExtendedAttribute> in the <Task> element with <UID> = 10 has invalid data.
STEPS TO REPRODUCE:
2. Map the new attribute to MSP as a Text field
3. Create a new project
4. Go to the Tasks tab and click New
5. Enter required fields and click Save
6. In the custom text field created, type "test", then click Enter/Return on the keyboard to create a new line and type "comment"
7. Click Save and Return
8. Attempt to open the project in MSP
Expected Results: Project opens successfully
Actual Results: Project does not open, and instead an error is generated similar to the following: “An Import Error Occured. The element <ExtendedAttribute> in the <Task> element with <UID> = 10 has invalid data.”
(Where <UID> = the task’s Unique ID for MSP)
This issue is due to Microsoft Project design - multi-lines are not allowed in text fields in MSP, only in the Notes field
Release : All Supported Releases
Component : CA PPM MICROSOFT PROJECT (MSP)
Delete any line breaks in the text field from the task in Clarity PPM
To Identify which task(s) and field are causing the issue:
1. Enable XML Debugging by changing general=debug in the logger.properties file on the workstation
2. Attempt to open the project in MSP
3. Note the <UID> mentioned in the import error
4. Open the XML file and do a find for <UID>10 (or the UID number displayed in the error message)
5. If unsure which extended attribute is causing the issue for the task, look through extended attributes section for the task to find one with text data with string codes similar to the below:
test
comment
6. Note the task name in the XML related to that UID and find the task in Clarity
7. Update the values in the string field in clarity so that there are no line breaks, all data is one string of data with no lines created using the Return/Enter option on the keyboard