| Summary: | default file client createFolder() result often has wrong Name value | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Grant Gayed <grant_gayed> |
| Component: | Client | Assignee: | Elijah El-Haddad <elijahe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse, elijahe, john.arthorne, simon_kaegi |
| Version: | 2.0 | Flags: | ahunter.eclipse:
review+
|
| Target Milestone: | 5.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 426407 | ||
I've recently come across the same issue. It seems to be a server side problem since the Name is incorrect in the JSON object returned by the server. I spent a little time debugging this -- looks like an error in ProjectParentDecorator line 58 -- but not sure what the correct intent is. Fix pushed to github: https://github.com/elijahe/orion.server/commit/0c7c5af26b28e34e7bf5feb9319607873a5ed8d9 |
- happens often, but not 100% fileClient.createFolder("/file/H/console.plugin.echo/", "outFolder").then( function(node) { // node's Location value: "/file/H/console.plugin.echo/outFolder" (ok) // node's Name value: "console.plugin.echo" (no, should be "outFolder") } );