| Summary: | Exported datapool cannot be imported. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Slauenwhite <paulslau> | ||||||||||
| Component: | TPTP | Assignee: | Jerome Gout <jerome.gout> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | critical | ||||||||||||
| Priority: | P1 | CC: | huangxy, jerome.bozier | ||||||||||
| Version: | unspecified | Keywords: | plan | ||||||||||
| Target Milestone: | --- | Flags: | paulslau:
review+
|
||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 202695, 212537 | ||||||||||||
| Attachments: |
|
||||||||||||
Jerome, we will need this fixed in i4 (formally i2). Please provide a sizing. Created attachment 81979 [details]
Screen capture.
Please provide a sizing for this defect before Monday, November 12, 2007. Bulk update of the target field to reflect the change in iteration numbers. Jerome B, can you look at this defect for i4? Created attachment 84084 [details]
minimal patch
this patch simply set the default option for import as the ones for export, so default choice for import + export does not lead to an error
this patch does not cover the other points of this bugzilla (improvement on wizard)
New automated test cases covered under defect 208583. Created attachment 84726 [details]
wizard patch
this patch enhance the import wizard so that user is able to create a new datapool without needing to stop the import wizard
todo : fix some minor glitch as the wizard title when switching from "select datapool" to "create new datapool"
Created attachment 84747 [details]
patch. see description bellow
this patch replace the 2 previous one :
. set the option "first row contains the equivalence class name" to enable by default to be coherent with export wizard
. modify the import wizard to enable the user to create a new datapool without exiting the wizard (error message + title bug fixed from previous patch)
. remove the link back to navigator in right-click contextual menu for datapools
time spend on this bug : around 40 hours
Excellent job Jerome! I updated the following: org.eclipse.hyades.test.ui.internal.wizard.DatapoolImportPage.validateSelection() org.eclipse.hyades.test.ui.internal.wizard.DatapoolImportWizard.addPages() Patch reviewed and checked-in to CVS (HEAD). Verified using TPTP-4.5.0-200712160400. Closing. |
Exported datapool cannot be imported. After exporting a new datapool using the default options, importing the CSV into an empty datapool using the default options causes the enclosed error. The problem is that the 'First column contains equivalence class names' option is not checked in the import dialog but checked in the export dialog ('Export equivalence class names'). In addition: -The user should be able import a CVS without create an empty datapool first. Currently, the Finish button is disabled until the user selects a datapool in the import dialog. -Remove 'Select Datapool in Test Navigator' context menu (equivalence class tab) since 'Link with Editor' replaces this function. -Automated test cases covering each of the core Datapool editor use cases: 1) Create empty. 2) Create from CSV with various options. 3) Import from CSV with various options. 4) Add/modify/delete equivalence class 5) Add/modify/delete variable 6) Add/modify/delete record 7) Add/modify/delete cell 8) Export to CSV with various options 9) Export to CSV and create from that CSV with various options. 10) Export to CSV and import from that CSV with various options