Community
Participate
Working Groups
Orion 0.3 2011-09-06-2200 Recently the Name: search seems to have stopped finding files. This is what I am doing: 1. Launch server with new workspace 2. Link to folder on disk where I keep the client code: > C:\Users\mamacdon\code\orion\org.eclipse.orion.client 3. Wait for a while 4. Launch the "open resource" dialog, search for a filename that I know exists: > http://localhost:8080/filesearch?q=Name:editor.js* This gives 0 results. Sometimes I will instead get files that contain the filename query in their contents. For example, this: > http://localhost:8080/filesearch?q=Name:orion* Yields: > bundle.properties > bundle.properties > bundle.properties > orion.profile.js > MANIFEST.MF > orion.profile.js > bundle.properties > fileClientPlugin.html > pluginregistry.js > siteUtils.js
This was caused by my fix for bug 336552. It looks like I'll have to do the escaping of special characters on the client side.
Reverting server side fix: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=e4e007fff022a12af87ce41d2974f09b6e4cf721 Client side escaping of search query: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=1c8035a4d7e8d94d9dc08bee9dec0b4b2755d574