| Summary: | Cannot create file in root directory | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Robert Spies <wilford> |
| Component: | Client | Assignee: | Casey Flynn <caseyflynn> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | caseyflynn, Michael_Rennie, remy.suen, Silenio_Quarti, steve_northover, wilford |
| Version: | 12.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/85542 https://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=cc36e31993b42f25c6bbd7630e142affe3f78a09 https://git.eclipse.org/r/85906 https://git.eclipse.org/r/89155 https://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=5372bf0a247e6a4e70bc9527f74ef26ffce17b1f |
||
| Whiteboard: | |||
|
Description
Robert Spies
This has been disabled by design (files need to be inside a project). I have enable it on the electron app (bug#496430) since the notion of projects was removed and we are just editing the file system. (In reply to Silenio Quarti from comment #1) > This has been disabled by design (files need to be inside a project). If this is by design, should this bug be closed as INVALID? New Gerrit change created: https://git.eclipse.org/r/85542 Gerrit change https://git.eclipse.org/r/85542 was merged to [master]. Commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=cc36e31993b42f25c6bbd7630e142affe3f78a09 I merged in the POC support. Here are the dark launch flags to use to enable its use: "darklaunch.createFileAtRoot" "darklaunch.createFolderAtRoot" "darklaunch.enableNewProject" "darklaunch.enableLinkProject" (In reply to Eclipse Genie from comment #4) > Gerrit change https://git.eclipse.org/r/85542 was merged to [master]. > Commit: > http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/ > ?id=cc36e31993b42f25c6bbd7630e142affe3f78a09 I had to revert the commit, because it caused file creation to fail: Uncaught Error: No matching file service for location: /file at s._getServiceIndex (https://beta3.hub.jazz.net/code/edit/edit.js:20:3327) at s._getService (https://beta3.hub.jazz.net/code/edit/edit.js:20:3410) at s._createArtifact (https://beta3.hub.jazz.net/code/edit/edit.js:20:4658) at s.createFile (https://beta3.hub.jazz.net/code/edit/edit.js:20:5152) at r (https://beta3.hub.jazz.net/code/edit/edit.js:15:29697) at https://beta3.hub.jazz.net/code/edit/edit.js:15:30020 at u (https://beta3.hub.jazz.net/code/edit/edit.js:15:22923) at HTMLInputElement.<anonymous> (https://beta3.hub.jazz.net/code/edit/edit.js:4:6146) New Gerrit change created: https://git.eclipse.org/r/85906 New Gerrit change created: https://git.eclipse.org/r/89155 Where are we with this? Is the latest code working? ASIDE: SSQ, I see no problem with creating a file in the root in the file system. (In reply to Steve Northover from comment #9) The code is working, I am waiting on a review. Gerrit change https://git.eclipse.org/r/89155 was merged to [master]. Commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=5372bf0a247e6a4e70bc9527f74ef26ffce17b1f |