![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Import from spreadsheet bug? Topic Summary: Created On: 24-Jan-2008 16:53 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
In DOORS 8.1:
Open the Import Spreadsheet window and select the 'Import to attributes: From list' and 'Import options: Create new objects' radio buttons. Now if the source data has columns that are NOT to be imported a list must be created that includes 'ignore' entries in the appropriate places. To save time the next time a similar import is to be done this file can be saved as an '.ATR' file. My .ATR file looks like this: preadsheet Import/Export Attribute List Ignore Object History Object Text Traceability Notes Compliancy Notes Ignore Validation Method Ignore Assignment Ignore Ignore Verification Method However if this file is loaded, the 'ignore' entries are omitted from the 'Attributes to import' window in the Import Spreadsheet' window, so when an import is performed the data is imported incorrectly. On re-saving the loaded ATR file it can be seen that the 'ignore' entries are missing: Spreadsheet Import/Export Attribute List Object History Object Text Traceability Notes Compliancy Notes Validation Method Assignment Verification Method This looks like a bug with the use of the .ATR file. Has anyone else seen this? Is it a known DOORS bug? If so which versions are affected? The DXL responsible is commas.dxl in lib/dxl/standard/import but it's a big script and I don't feel brave enough to start tampering with it! TIA Jim ------------------------- Jim Backus<BR>Ultra Electronics, Controls |
|
![]() |
|
![]() |
|
Further information:
It apppears that the bug may lie in the include file attrlist.inc which has a block of code: for (file >> line; !end file; file >> line) { if (!attrExists_ line) if (matches("[1-9] .", line)) line = line[end(0):] if (attrExists_ line ) put(alSelectedAttr, alSelAttrNum++, line) } This appears to check that attributes exist before adding them to the attribute list used to map a CSV file into DOORS. Clearly there is no attribute named 'ignore' so these entries will not be loaded. I've only scanned the DXL quickly so this may not be the cause. As it's in an include file that may be used elsewhere I'm loath to modify it. ------------------------- Jim Backus<BR>Ultra Electronics, Controls |
|
![]() |
|
![]() |
|
Yes, it ignores the IGNORE directives in a saved .ATR file. I reported this in March 2007. Telelogic logged it as an enhancement request, although I asked them to reclassify it as a bug.
I was able to work around it by modifying my source Excel to remove the columns I wanted to ignore... ------------------------- Joseph DUBIN joseph.dubinNOSPAM@freescale.com Freescale Semiconductor, Inc. |
|
![]() |
Telelogic DOORS
» General Discussion
»
Import from spreadsheet bug?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.