Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: AFernandez on January 18, 2023, 11:12:08 am

Title: Error "Import Objects failed due to invalid Properties in the profile" Doors imp
Post by: AFernandez on January 18, 2023, 11:12:08 am
Hello forum, thanks for reading;  your feedback will be really appreciated:

I am using EA DOORS Add-in for importing requirements from DOORS, I have several modules in my project where all but one can be correctly imported.

For each module, import its done by going to DOORS/Import from DOORS, then select the module and profile.

The failing module throws a dialog with the legend:
"Import Objects failed due to invalid Properties in the profile"

has anyone run into this issue or have an idea on it?

additional information:
-profile is done the same for all modules
-All the working modules, have requirements where an attribute "EAGUID" is populated with a large number {3453....}. the failing module has the attribute but it seems to be e empty for all requirements.
-My user has write permissions on all modules.

Title: Re: Error "Import Objects failed due to invalid Properties in the profile" Doors imp
Post by: qwerty on January 20, 2023, 10:08:26 pm
You did not state the version, but if it's V16 you're probably best off to report a bug :-/

q.
Title: Re: Error "Import Objects failed due to invalid Properties in the profile" Doors imp
Post by: AFernandez on January 21, 2023, 12:15:42 am
Version is 15.2.1558.

this trace is in logs, seems to be complaining about a '/' character, not sure where exactly it came from. investigating.

$unhandled - readDoorDataXml || ex3 -- Timestamp:
2023-01-20 07:44:26
Message:
The '/' character, hexadecimal value 0x2F, cannot be included in a name.
Source:
System.Xml
InnerException:

StackTrace:
   at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)
   at System.Xml.Linq.XName..ctor(XNamespace ns, String localName)
   at System.Xml.Linq.XNamespace.GetName(String localName)
   at System.Xml.Linq.XName.Get(String expandedName)
   at System.Xml.Linq.XName.op_Implicit(String expandedName)
   at DoorsEASync.DoorsEAClass.readDoorDataXml(DataTable ObjDetailsInDoors, DataTable ObjLinksasEAConnectors, DataTable DTObjectExternalReference)
Title: Re: Error "Import Objects failed due to invalid Properties in the profile" Doors imp
Post by: qwerty on January 21, 2023, 12:37:36 am
Seems like you try to import something with a "/" in the name and which does not seem to be escaped properly. Try finding that and (temporarily) removing the slash. Also you should report a bug in any case (even if it's V15; the DOORS stuff is rather independent from the release cycle of EA).

q.
Title: Re: Error "Import Objects failed due to invalid Properties in the profile" Doors imp
Post by: AFernandez on January 21, 2023, 02:49:23 am
So, only one of the attributes on only one module had slashes on name and was causing the issue. As suggested, temporarily modified and it worked

will figure out if I need to permanently modify the name.

@querty, thanks for the input, it was very helpful.

for future references, in my case, import log was located at:

C:\Users\[ your user]\AppData\Roaming\Sparx Systems\EADoors\Logs

100% worth to check it in case of errors when importing reqs.

thanks.
Title: Re: Error "Import Objects failed due to invalid Properties in the profile" Doors imp
Post by: Chris_EA on February 27, 2023, 07:37:09 pm
Hello,

we are facing the same issue. Not only for "/" character, but also for "@". The interface does not escape it and will fail with the same error message. We see it as a bug and opened a bug report.

Thanks AFernandez for pointing out the error log file path.