| Summary: | Using fully qualified host name to import a local log invokes remote import | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jane Fang <janefang> | ||||
| Component: | TPTP | Assignee: | Bing Xu <xubing> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P1 | CC: | ewchan, jkubasta, samwai | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | closed460 | ||||||
| Attachments: |
|
||||||
|
Description
Jane Fang
I debugged a bit and found the following:
When use the statement below to create a node, Node.getName() doesnot return the fully qualified host name. In my case, it returns "blueloon".
Node lnode = NodeFactory.createNode("localhost");
However, if use the fully qualified name of the local host, say, "blueloon.torolab.ibm.com" to create a node, Node.getName() returns "blueloon.torolab.ibm.com".
If this is a problem in NodeFactory, please advise which component this defect should be against and i will make the change.
Joanna, would you please take a look at the problem in the NodeFactory. I tried in 4.5 and when entered full hostname like 'bing.torolab.ibm.com' in the Created attachment 80904 [details]
Patch file with updated org.eclipse.hyades.security.internal.util.BaseConnectUtil()
updated org.eclipse.hyades.security.internal.util.BaseConnectUtil().
I tried to import a Log File using 4.5 code. If I entered full hostname (bing.torolab.ibm.com) in the 'Host Name' tab, then the 'Browse...' button is disabled in the 'Details' tab so I couldn't select the file to import. Problem is with org.eclipse.hyades.security.internal.util.BaseConnectUtil.isLocalHost() method. It returns False when given the full hostname. Samson, please review the fix. Thanks. For tracking purposes, leaving bug assigned to Bing but adding Samson to the cc list. Thx. The patch looks good. Patch committed to Head 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. |