Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 491171

Summary: Global search: Find command is invoked twice when clicking on a file in search result.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2016-04-06 12:29:20 EDT
Steps to reproduce:
1. Create 2 files with same keywords in
2. Search on that keyword.
3. In the search result page, click on the first file.
4. click on the second file.

At step 4 if you set a break point at commandRegistry.processURL() api, you will find the orion.edit.find command is invoked twice: one on file 1 and one on file 2.

This will affect the customized textModel.find API, where the find  itself may involve server request.