| Summary: | Analyze selection reports don't work. | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Giorgio Basilisco <giorgio.basilisco> |
| Component: | TPTP.monitoring | Assignee: | Alex Nan <apnan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | apnan, ewchan, giorgio.basilisco |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | closed460 | ||
|
Description
Giorgio Basilisco
Giorgio, the problem is that your parser is not setting a source component id for the generated CommonBaseEvent objects. The component attribute of the ComponentIdentification object is also mandatory. The XPath analysis engine assumes this and unfortunately is not doing any checking, so the emitting of symptoms is failing, this is the reason why not result is generated. Please fix the parser accordingly and the analyze will work fine. I will keep this defect to do the changes neccessary to prevent this kind of situation but please lower the severity to normal. I have tried with add the source component id but don't work
The code of change :
private final static ComponentIdentification netmanComponentID = null;
netmanComponentID.setExecutionEnvironment(environment);
netmanComponentID.setComponent(component);
netmanComponentID.setSubComponent(subComponent);
netmanComponentID.setComponentIdType(componentIdType);
netmanComponentID.setComponentType(componentType);
netmanComponentID.setLocation("localHostId");
netmanComponentID.setLocationType("localHostIdFormat");
ComponentIdentification netmanComponentID = eventFactory.createComponentIdentification();
messages[arrayIndex].setSourceComponentId(netmanComponentID);
But when I see e properties of Log Record I don't see a Source Component Value,these is all empty. (e.g. Component Name,Classification Type,....)
I have fix the problem...now I see the SourceComponent properties and the XPath match the situations. I'm glad to hear that the problem was fixed. Assigning to i2 for now. Changing target to 4.5 i4. Provided unknown component name in case the source component of a CBE is not set. Created a resource bundle for the messages used by the XPathCorrelation engine, independent of the editor. 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 this enhancement/defect has been resolved and unverified for more than 1 year 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. |