| Summary: | Importing large datapool freezes wizard. | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Slauenwhite <paulslau> |
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P1 | CC: | jerome.bozier |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 185878 | ||
|
Description
Paul Slauenwhite
Deferred from I5 to I6 with PMC approval. This verification step is necessary to validate the CVS file and should should not be removed. After a closer inspection, the validation code in org.eclipse.hyades.test.ui.datapool.internal.util.CSVImportExportUtil.validateCSVFile(String, boolean, boolean, String) was poorly written. This method has been completely rewritten to be more performant (e.g. user does not see any different in the UI when validating a datapool with 1 or 65,000 records) and with better error handling (e.g. evaluates all conditions for valid CSV file). The following files checked into CVS (HEAD): org.eclipse.hyades.test.ui.datapool.internal.util.CSVImportExportUtil.java org.eclipse.hyades.test.ui.datapool.internal.util.CSVTokenizer.java org.eclipse.hyades.test.ui.internal.resources.UiPluginResourceBundle.java /org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/internal/resources/messages.properties Verified in TPTP-4.5.0-200806070100. Closing. |