Bug 537714 - Search don't work if project name contain pipe in name
Summary: Search don't work if project name contain pipe in name
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: 5.10   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-06 05:19 EDT by Maxime Gilbert CLA
Modified: 2018-08-07 11:00 EDT (History)
1 user (show)

See Also:


Attachments
Test project (707 bytes, application/zip)
2018-08-06 05:19 EDT, Maxime Gilbert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Gilbert CLA 2018-08-06 05:19:57 EDT
Created attachment 275287 [details]
Test project

Projects using pipe character "|" in their names cannot import resources and  cannot resolve classes to types.

This error doesn't occurs with following characters:
 - brackets "(", ")", "[", "]", "{", and "}";
 - backslashes "\";
 - dashes "-", and "–".

It seems to me that only the pipe character "|" is involved.

This error did not occurred when using Eclipse Oxygen within my previous workstation.

Steps to reproduce:
 1. Import the attached project archive.
 2. Open the SecondClass.php file.
 3. See message "The FirstClass cannot be resolved to a type.".

Workaround: remove pipe character "|" from the project's name.
Comment 1 Dawid Pakula CLA 2018-08-07 11:00:36 EDT
This is a problem from DLTK. DLTKSearchScope#projectFragment() use "|" as special character. Moving.

I see similar issue in JDT.