| Summary: | Symptom catalog import not showing error message when incorrect import format is chosen | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Liz Dancy <lizdancy> | ||||||||||
| Component: | TPTP.monitoring | Assignee: | Yasuhisa Gotoh <gotohy> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | major | ||||||||||||
| Priority: | P1 | CC: | apnan, prafulr, zung | ||||||||||
| Version: | unspecified | Keywords: | plan | ||||||||||
| Target Milestone: | --- | Flags: | apnan:
review?
(gotohy) |
||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | closed460 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Liz Dancy
This defect will be solved once 204035 is solved. Assigning to i4, this is a defect that needs to be done. Created attachment 84718 [details]
Patch file
Alex, please review the patch.
Created attachment 84794 [details]
Updated patch
Gotoh-san I have reviewed your patch but I don't think this is the best way to solve the problem. We shouldn't parse the whole file just to find out at the end that the catalog is in an invalid format, we just need to parse the first element.
For sake of consistency I have added a similar logic for the case in which a Websphere format symptom catalog is imported using the symptom 2 importer. Now the validation is upfront and is more efficient. Please take a look, test and refine the fix. I haven't touched the zip handlers which are a special case and a bit more difficult to add validation code.
I am gonna retarget the defect to 4.5 i5 since it obviously cannot be contained in i4.
Thanks.
Readjust sizing. Created attachment 84795 [details]
Second updated patch
I missed to adda file in the previous patch.
Created attachment 84877 [details]
Updated patch
This patch is better.
Fixed. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |