Community
Participate
Working Groups
Using I20110830 on orion.eclipse.org - Create a new top level folder - Under it, create a file called ":a" (no quotes, just a colon followed by a letter) -> This fails, and the UI displays a raw HTML document in the status display area. - Attempt to navigate into the folder containing the bad file -> Another error occurs. This folder is now permanently broken
Created attachment 202566 [details] Screen shot
There are two parts to the fix. First, the server was returning a ServletException rather than an JSON object representing an IStatus: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=ea3d441c6c06285db2190c3b32f066e142b0941c I also noticed while debugging that if the deferred timeeouts, then the deferred error object gets sent to status.js, which doesn't know how to display this. You end up seeing [Object] in the status area rather than the message. We might want to special case this to give a more informative message, but for now I have just let the dojo deferred "timeout exceeded" message be shown to the user. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=008cda62d61e3c1ac236e44bb934c4a48d490ba1