| Summary: |
PHP Executables - Search registers different exe with same name |
| Product: |
z_Archived
|
Reporter: |
Toshihiro Izumi <euthanasia_waltz> |
| Component: |
PDT | Assignee: |
PHP Debug <php.debug-inbox> |
| Status: |
CLOSED
FIXED
|
QA Contact: |
Ilina Stefanova <ilina.s> |
| Severity: |
normal
|
|
|
| Priority: |
P3
|
CC: |
ilina.s, jacek.pospychala, zhaozhongwei
|
| Version: |
unspecified | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
PC | |
|
| OS: |
Windows XP | |
|
| Whiteboard: |
|
| Attachments: |
| Description |
Flags |
patch
|
jacek.pospychala:
iplog+
|
|
new patch
|
jacek.pospychala:
iplog+
|
|
Steps to reproduce: 1. Extract some php archives under same folder e.g. C:\php \php-5.3.3-nts-Win32-VC9-x86 \dev \ext \extras \PEAR \php-5.3.3-Win32-VC6-x86 \dev \ext \extras \PEAR 2. Open Preferences > PHP > PHP Executables 3. Click Search and select C:\php to search in 4. Following entries will be appeared PHP 5.3.3 (CLI) : Zend Debugger : C:\php\php-5.3.3-nts-Win32-VC9-x86\php.exe PHP 5.3.3 (CLI) : Zend Debugger : C:\php\php-5.3.3-Win32-VC6-x86\php.exe 5. Click OK to close preferences and reopen it again 6. Now you can see only PHP 5.3.3 (CLI) : Zend Debugger : C:\php\php-5.3.3-Win32-VC6-x86\php.exe Cause: org.eclipse.php.internal.debug.ui.preferences.phps.InstalledPHPsBlock.search() 737: String nameCopy = new String(phpExe.getName()); 738: int i = 1; 739: while (isDuplicateName(nameCopy)) { 740: nameCopy = phpExe.getName() + '[' + i++ + ']'; 741: } // 746: if (phpExe.getExecutable() != null) { 747: fPHPexes.add(phpExe); 748: phpExes.addItem(phpExe); 749: fPHPExeList.refresh(); 750: } nameCopy is not used.