Author Topic: Error "Import Objects failed due to invalid Properties in the profile" Doors imp  (Read 2640 times)

AFernandez

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
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.

« Last Edit: January 20, 2023, 07:02:46 am by AFernandez »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
You did not state the version, but if it's V16 you're probably best off to report a bug :-/

q.

AFernandez

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
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)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
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.

AFernandez

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
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.

Chris_EA

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
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.