Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 99819 Details for
Bug 166543
Reimport the same log causes a new root_internal correlation getting created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for this defect
Corr_Internal_dup.txt (text/plain), 1.75 KB, created by
Rohit Shetty
on 2008-05-12 17:07:38 EDT
(
hide
)
Description:
Patch for this defect
Filename:
MIME Type:
Creator:
Rohit Shetty
Created:
2008-05-12 17:07:38 EDT
Size:
1.75 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.monitoring.logui >Index: src/org/eclipse/tptp/monitoring/logui/internal/wizards/ImportLogWizard.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.tptp.monitoring.logui/src/org/eclipse/tptp/monitoring/logui/internal/wizards/ImportLogWizard.java,v >retrieving revision 1.118 >diff -u -r1.118 ImportLogWizard.java >--- src/org/eclipse/tptp/monitoring/logui/internal/wizards/ImportLogWizard.java 10 Apr 2008 00:18:29 -0000 1.118 >+++ src/org/eclipse/tptp/monitoring/logui/internal/wizards/ImportLogWizard.java 12 May 2008 21:06:13 -0000 >@@ -818,6 +818,7 @@ > } > > if (bAppend) { >+ removeInternalCorrelations(foundAgent,CommonUIConstants.LOG_NAVIGATOR_ID); > return foundAgent.getAgent(); > } else { > if(foundAgent.getAgent().eResource()!=null){ >@@ -2375,6 +2376,8 @@ > DeleteUtil.setDeleteInProgress(true); > DeleteUtil.deleteResource(res, true, true, navigatorID); > >+ removeInternalCorrelations(agentProxy,navigatorID); >+ > TraceModelFactoryWrapper.instance().deleteAgent(agentProxy); > DeleteUtil.setDeleteInProgress(false); > >@@ -2384,6 +2387,16 @@ > TraceUIManager.getTraceUIManager().notifyProfileEventListener(event); > > } >+ >+ public void removeInternalCorrelations(TRCAgentProxy agentProxy, String navigatorID) >+ { >+ List corrs = agentProxy.getInternalCorrelations(); >+ for(int i=0;i<corrs.size();i++) >+ { >+ CorrelationContainerProxy corrProxy = (CorrelationContainerProxy)corrs.get(i); >+ DeleteUtil.deleteCorrelationContainer(corrProxy, true, true, true, navigatorID); >+ } >+ } > > public IImportLogWizard getDelegator() { > return delegate;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 166543
:
54921
|
99819
|
100084